#668E2B#668E2B
#668E2B is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.135 H 128.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #668E2B |
|---|---|
| RGB | rgb(102, 142, 43) |
| HSL | hsl(84, 54%, 36%) |
| HSV | hsv(84, 70%, 56%) |
| CMYK | cmyk(28.2%, 0%, 69.7%, 44.3%) |
| CIE-LAB | lab(54.39, -29.72, 46.21) |
| CIE-LCH | lch(54.39, 54.94, 122.75°) |
| OKLab | oklab(59.67% -0.0845 0.1048) |
| OKLCH | oklch(59.67% 0.135 128.9) |
| XYZ | xyz(15.5885, 22.3448, 5.7767) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.12
Olivedrab
#6B8E23
ΔE00 1.73
Moss Green (survey)
#658B38
ΔE00 2.47
Sap Green
#5C8B15
ΔE00 2.51
Khaki Green
#728639
ΔE00 4.81
Swamp
#698339
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668E2B #532B8E
analogous
#8E852B #668E2B #358E2B
triadic
#668E2B #2B668E #8E2B66
tetradic
#668E2B #2B8E85 #532B8E #8E2B35
square
#668E2B #2B8E85 #532B8E #8E2B35
split-complementary
#668E2B #2B358E #852B8E
monochromatic
#23300F #445F1D #668E2B #88BD39 #A4D063
Accessibility & contrast
On white
3.84
#668E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#668E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668E2B
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668E2B | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95841C
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #668e2b; /* rgb */ color: rgb(102, 142, 43); /* oklch */ color: oklch(59.7% 0.135 128.9);
Tailwind
colors: {
custom: {
50: '#95af6a',
500: '#668e2b',
950: '#000000',
},
}SCSS
$custom: #668e2b; $custom-light: #95af6a; $custom-dark: #000000;
JSON
{
"hex": "#668e2b",
"rgb": {
"r": 102,
"g": 142,
"b": 43
},
"hsl": {
"h": 84.242,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.59673,
"c": 0.13457,
"h": 128.9
},
"luminance": 0.22345
}Semantic roles & 50–950 ramp
primary
#668E2B
secondary
#825FB6
accent
#4BDD86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A