Nearest named color · #6BAB42
#6BAB42
Nearest named color: Leaf
#6BAB42 (rgb(107 171 66), hsl(97 44% 46%), oklch(0.675 0.153 135.1)) is closest to the named color Leaf. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#6BAB42
oklch(0.675 0.153 135.1)
Color conversions
- HEX
- #6bab42
- RGB
- rgb(107 171 66)
- HSL
- hsl(97 44% 46%)
- HWB
- hwb(97 26% 33%)
- OKLCH
- oklch(0.675 0.153 135.1)
- OKLab
- oklab(0.675 -0.109 0.108)
- CIE Lab
- lab(64 -35.29 45.86)
- LCH
- lch(64 57.86 127.6)
- CMYK
- cmyk(37% 0% 61% 33%)
Tints · Shades · Tones
Tints
- 7AB458
- 89BC6B
- 97C57E
- A6CD91
- B5D6A3
- C3DEB6
- D2E6C8
- E1EFDA
- F0F7ED
Shades
- 5C9438
- 4E7E2F
- 3F6825
- 32541C
- 254014
- 182D0B
- 0D1B05
- 040B01
- 000100
Tones
- 6EA74B
- 70A353
- 739F5A
- 759A61
- 779667
- 79926C
- 7B8E72
- 7D8977
- 7E857B
Color harmonies
Complementary +180°
- 6BAB42
Leaf
- BA77D7
≈ Lavender Blossom
Analogous -30° +30°
Triadic +120° +240°
- 6BAB42
Leaf
- 4F98F3
≈ Polar Glow
- E56A78
≈ Old Heart
Split-complementary +150° +210°
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.52:1 · APCA Lc 48
Best text color: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--leaf: #6bab42;
--leaf-rgb: 107 171 66;
--leaf-oklch: oklch(0.675 0.153 135.1);
}
.element {
color: var(--leaf);
background-color: hsl(97 44% 46%);
border-color: oklch(0.675 0.153 135.1);
}Tailwind CSS v4
@theme {
--color-leaf: #6bab42;
--color-leaf-50: #e1ffd5;
--color-leaf-100: #d0f5c2;
--color-leaf-200: #b5e4a3;
--color-leaf-300: #91ca7a;
--color-leaf-400: #75b250;
--color-leaf-500: #559b1d;
--color-leaf-600: #49831c;
--color-leaf-700: #3a6917;
--color-leaf-800: #2c4d0a;
--color-leaf-900: #1e3506;
--color-leaf-950: #0d2000;
}SCSS
$leaf: #6bab42;
$leaf-rgb: 107, 171, 66;
$leaf-light: mix(#fff, $leaf, 20%);
$leaf-dark: mix(#000, $leaf, 20%);
.element {
color: $leaf;
box-shadow: 0 0 0 2px rgba($leaf, 0.35);
}