#668E2E#668E2E
#668E2E is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.132 H 129.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #668E2E |
|---|---|
| RGB | rgb(102, 142, 46) |
| HSL | hsl(85, 51%, 37%) |
| HSV | hsv(85, 68%, 56%) |
| CMYK | cmyk(28.2%, 0%, 67.6%, 44.3%) |
| CIE-LAB | lab(54.41, -29.49, 44.97) |
| CIE-LCH | lch(54.41, 53.78, 123.25°) |
| OKLab | oklab(59.7% -0.0836 0.1026) |
| OKLCH | oklch(59.7% 0.132 129.2) |
| XYZ | xyz(15.6456, 22.3676, 6.0773) |
| Luminance | 0.2237 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.26
Olivedrab
#6B8E23
ΔE00 2.08
Moss Green (survey)
#658B38
ΔE00 2.10
Sap Green
#5C8B15
ΔE00 2.79
Khaki Green
#728639
ΔE00 4.69
Swamp
#698339
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668E2E #562E8E
analogous
#8E862E #668E2E #368E2E
triadic
#668E2E #2E668E #8E2E66
tetradic
#668E2E #2E8E86 #562E8E #8E2E36
square
#668E2E #2E8E86 #562E8E #8E2E36
split-complementary
#668E2E #2E368E #862E8E
monochromatic
#243210 #45601F #668E2E #87BC3D #A4CE68
Accessibility & contrast
On white
3.84
#668E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#668E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668E2E
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668E2E | 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)
#958421
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #668e2e; /* rgb */ color: rgb(102, 142, 46); /* oklch */ color: oklch(59.7% 0.132 129.2);
Tailwind
colors: {
custom: {
50: '#95af6c',
500: '#668e2e',
950: '#000000',
},
}SCSS
$custom: #668e2e; $custom-light: #95af6c; $custom-dark: #000000;
JSON
{
"hex": "#668e2e",
"rgb": {
"r": 102,
"g": 142,
"b": 46
},
"hsl": {
"h": 85,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.597,
"c": 0.13231,
"h": 129.2
},
"luminance": 0.22368
}Semantic roles & 50–950 ramp
primary
#668E2E
secondary
#8563B5
accent
#4DDB88
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A