#668C2D#668C2D
#668C2D is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.130 H 128.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #668C2D |
|---|---|
| RGB | rgb(102, 140, 45) |
| HSL | hsl(84, 51%, 36%) |
| HSV | hsv(84, 68%, 55%) |
| CMYK | cmyk(27.1%, 0%, 67.9%, 45.1%) |
| CIE-LAB | lab(53.78, -28.61, 44.73) |
| CIE-LCH | lch(53.78, 53.10, 122.60°) |
| OKLab | oklab(59.18% -0.0812 0.1019) |
| OKLCH | oklch(59.18% 0.13 128.6) |
| XYZ | xyz(15.3312, 21.7701, 5.8764) |
| Luminance | 0.2177 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.83
Moss Green (survey)
#658B38
ΔE00 1.91
Olivedrab
#6B8E23
ΔE00 2.08
Sap Green
#5C8B15
ΔE00 2.66
Khaki Green
#728639
ΔE00 4.20
Swamp
#698339
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668C2D #532D8C
analogous
#8C832D #668C2D #378C2D
triadic
#668C2D #2D668C #8C2D66
tetradic
#668C2D #2D8C83 #532D8C #8C2D37
square
#668C2D #2D8C83 #532D8C #8C2D37
split-complementary
#668C2D #2D378C #832D8C
monochromatic
#232F0F #445E1E #668C2D #88BA3C #A4CE66
Accessibility & contrast
On white
3.92
#668C2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#668C2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668C2D
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668C2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668C2D | 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)
#938220
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #668c2d; /* rgb */ color: rgb(102, 140, 45); /* oklch */ color: oklch(59.2% 0.130 128.6);
Tailwind
colors: {
custom: {
50: '#95ad6b',
500: '#668c2d',
950: '#000000',
},
}SCSS
$custom: #668c2d; $custom-light: #95ad6b; $custom-dark: #000000;
JSON
{
"hex": "#668c2d",
"rgb": {
"r": 102,
"g": 140,
"b": 45
},
"hsl": {
"h": 84,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.59184,
"c": 0.13035,
"h": 128.6
},
"luminance": 0.2177
}Semantic roles & 50–950 ramp
primary
#668C2D
secondary
#8260B4
accent
#4DDB86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A