#668D2C#668D2C
#668D2C is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.132 H 128.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #668D2C |
|---|---|
| RGB | rgb(102, 141, 44) |
| HSL | hsl(84, 52%, 36%) |
| HSV | hsv(84, 69%, 55%) |
| CMYK | cmyk(27.7%, 0%, 68.8%, 44.7%) |
| CIE-LAB | lab(54.09, -29.17, 45.48) |
| CIE-LCH | lch(54.09, 54.03, 122.67°) |
| OKLab | oklab(59.43% -0.0829 0.1034) |
| OKLCH | oklch(59.43% 0.132 128.7) |
| XYZ | xyz(15.4589, 22.0560, 5.8251) |
| Luminance | 0.2206 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.90
Olivedrab
#6B8E23
ΔE00 1.87
Moss Green (survey)
#658B38
ΔE00 2.17
Sap Green
#5C8B15
ΔE00 2.55
Khaki Green
#728639
ΔE00 4.50
Swamp
#698339
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668D2C #532C8D
analogous
#8D842C #668D2C #368D2C
triadic
#668D2C #2C668D #8D2C66
tetradic
#668D2C #2C8D84 #532C8D #8D2C36
square
#668D2C #2C8D84 #532C8D #8D2C36
split-complementary
#668D2C #2C368D #842C8D
monochromatic
#23300F #445E1D #668D2C #88BC3B #A4CF65
Accessibility & contrast
On white
3.88
#668D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#668D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668D2C
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668D2C | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#698779
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #668d2c; /* rgb */ color: rgb(102, 141, 44); /* oklch */ color: oklch(59.4% 0.132 128.7);
Tailwind
colors: {
custom: {
50: '#95ae6b',
500: '#668d2c',
950: '#000000',
},
}SCSS
$custom: #668d2c; $custom-light: #95ae6b; $custom-dark: #000000;
JSON
{
"hex": "#668d2c",
"rgb": {
"r": 102,
"g": 141,
"b": 44
},
"hsl": {
"h": 84.124,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.59428,
"c": 0.13248,
"h": 128.7
},
"luminance": 0.22056
}Semantic roles & 50–950 ramp
primary
#668D2C
secondary
#8260B5
accent
#4CDC86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A