#668E2D#668E2D
#668E2D is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.133 H 129.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #668E2D |
|---|---|
| RGB | rgb(102, 142, 45) |
| HSL | hsl(85, 52%, 37%) |
| HSV | hsv(85, 68%, 56%) |
| CMYK | cmyk(28.2%, 0%, 68.3%, 44.3%) |
| CIE-LAB | lab(54.41, -29.57, 45.39) |
| CIE-LCH | lch(54.41, 54.17, 123.08°) |
| OKLab | oklab(59.69% -0.0839 0.1033) |
| OKLCH | oklch(59.69% 0.133 129.1) |
| XYZ | xyz(15.6261, 22.3599, 5.9747) |
| Luminance | 0.2236 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.20
Olivedrab
#6B8E23
ΔE00 1.96
Moss Green (survey)
#658B38
ΔE00 2.22
Sap Green
#5C8B15
ΔE00 2.69
Khaki Green
#728639
ΔE00 4.73
Swamp
#698339
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668E2D #552D8E
analogous
#8E862D #668E2D #368E2D
triadic
#668E2D #2D668E #8E2D66
tetradic
#668E2D #2D8E86 #552D8E #8E2D36
square
#668E2D #2D8E86 #552D8E #8E2D36
split-complementary
#668E2D #2D368E #862D8E
monochromatic
#233110 #45601E #668E2D #87BC3C #A4CF67
Accessibility & contrast
On white
3.84
#668E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#668E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668E2D
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668E2D | 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)
#958420
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #668e2d; /* rgb */ color: rgb(102, 142, 45); /* oklch */ color: oklch(59.7% 0.133 129.1);
Tailwind
colors: {
custom: {
50: '#95af6b',
500: '#668e2d',
950: '#000000',
},
}SCSS
$custom: #668e2d; $custom-light: #95af6b; $custom-dark: #000000;
JSON
{
"hex": "#668e2d",
"rgb": {
"r": 102,
"g": 142,
"b": 45
},
"hsl": {
"h": 84.742,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.59691,
"c": 0.13308,
"h": 129.1
},
"luminance": 0.2236
}Semantic roles & 50–950 ramp
primary
#668E2D
secondary
#8461B5
accent
#4CDB87
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A