#668C2C#668C2C
#668C2C is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.131 H 128.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #668C2C |
|---|---|
| RGB | rgb(102, 140, 44) |
| HSL | hsl(84, 52%, 36%) |
| HSV | hsv(84, 69%, 55%) |
| CMYK | cmyk(27.1%, 0%, 68.6%, 45.1%) |
| CIE-LAB | lab(53.77, -28.69, 45.15) |
| CIE-LCH | lch(53.77, 53.49, 122.43°) |
| OKLab | oklab(59.18% -0.0815 0.1027) |
| OKLCH | oklch(59.18% 0.131 128.5) |
| XYZ | xyz(15.3122, 21.7624, 5.7762) |
| Luminance | 0.2176 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.74
Olivedrab
#6B8E23
ΔE00 1.96
Moss Green (survey)
#658B38
ΔE00 2.05
Sap Green
#5C8B15
ΔE00 2.56
Khaki Green
#728639
ΔE00 4.24
Swamp
#698339
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668C2C #522C8C
analogous
#8C822C #668C2C #368C2C
triadic
#668C2C #2C668C #8C2C66
tetradic
#668C2C #2C8C82 #522C8C #8C2C36
square
#668C2C #2C8C82 #522C8C #8C2C36
split-complementary
#668C2C #2C368C #822C8C
monochromatic
#222F0F #445D1D #668C2C #88BB3B #A4CE64
Accessibility & contrast
On white
3.92
#668C2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#668C2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668C2C
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668C2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668C2C | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821F
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #668c2c; /* rgb */ color: rgb(102, 140, 44); /* oklch */ color: oklch(59.2% 0.131 128.5);
Tailwind
colors: {
custom: {
50: '#95ad6b',
500: '#668c2c',
950: '#000000',
},
}SCSS
$custom: #668c2c; $custom-light: #95ad6b; $custom-dark: #000000;
JSON
{
"hex": "#668c2c",
"rgb": {
"r": 102,
"g": 140,
"b": 44
},
"hsl": {
"h": 83.75,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.59175,
"c": 0.13112,
"h": 128.5
},
"luminance": 0.21763
}Semantic roles & 50–950 ramp
primary
#668C2C
secondary
#815FB5
accent
#4CDC85
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A