#668B2F#668B2F
#668B2F is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.127 H 128.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #668B2F |
|---|---|
| RGB | rgb(102, 139, 47) |
| HSL | hsl(84, 49%, 36%) |
| HSV | hsv(84, 66%, 55%) |
| CMYK | cmyk(26.6%, 0%, 66.2%, 45.5%) |
| CIE-LAB | lab(53.49, -27.97, 43.55) |
| CIE-LCH | lch(53.49, 51.75, 122.71°) |
| OKLab | oklab(58.95% -0.0793 0.0997) |
| OKLCH | oklch(58.95% 0.127 128.5) |
| XYZ | xyz(15.2252, 21.4949, 6.0356) |
| Luminance | 0.2150 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.07
Moss Green (survey)
#658B38
ΔE00 1.54
Olivedrab
#6B8E23
ΔE00 2.47
Sap Green
#5C8B15
ΔE00 2.95
Swamp
#698339
ΔE00 3.76
Khaki Green
#728639
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668B2F #542F8B
analogous
#8B822F #668B2F #388B2F
triadic
#668B2F #2F668B #8B2F66
tetradic
#668B2F #2F8B82 #542F8B #8B2F38
square
#668B2F #2F8B82 #542F8B #8B2F38
split-complementary
#668B2F #2F388B #822F8B
monochromatic
#233010 #445D20 #668B2F #88B93E #A4CC68
Accessibility & contrast
On white
3.96
#668B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#668B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668B2F
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668B2F | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#698578
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #668b2f; /* rgb */ color: rgb(102, 139, 47); /* oklch */ color: oklch(59.0% 0.127 128.5);
Tailwind
colors: {
custom: {
50: '#94ad6c',
500: '#668b2f',
950: '#000000',
},
}SCSS
$custom: #668b2f; $custom-light: #94ad6c; $custom-dark: #000000;
JSON
{
"hex": "#668b2f",
"rgb": {
"r": 102,
"g": 139,
"b": 47
},
"hsl": {
"h": 84.13,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.5895,
"c": 0.1274,
"h": 128.5
},
"luminance": 0.21495
}Semantic roles & 50–950 ramp
primary
#668B2F
secondary
#8363B3
accent
#4FD986
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A