#668C25#668C25
#668C25 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.136 H 127.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #668C25 |
|---|---|
| RGB | rgb(102, 140, 37) |
| HSL | hsl(82, 58%, 35%) |
| HSV | hsv(82, 74%, 55%) |
| CMYK | cmyk(27.1%, 0%, 73.6%, 45.1%) |
| CIE-LAB | lab(53.72, -29.18, 47.93) |
| CIE-LCH | lch(53.72, 56.11, 121.34°) |
| OKLab | oklab(59.12% -0.0835 0.1074) |
| OKLCH | oklch(59.12% 0.136 127.9) |
| XYZ | xyz(15.1915, 21.7142, 5.1408) |
| Luminance | 0.2172 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.81
Olivedrab
#6B8E23
ΔE00 1.29
Sap Green
#5C8B15
ΔE00 2.01
Moss Green (survey)
#658B38
ΔE00 2.97
Dark Yellow Green
#728F02
ΔE00 4.45
Avocado
#568203
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668C25 #4B258C
analogous
#8C7F25 #668C25 #338C25
triadic
#668C25 #25668C #8C2566
tetradic
#668C25 #258C7F #4B258C #8C2533
square
#668C25 #258C7F #4B258C #8C2533
split-complementary
#668C25 #25338C #7F258C
monochromatic
#1F2B0B #435C18 #668C25 #89BC32 #A6D358
Accessibility & contrast
On white
3.93
#668C25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#668C25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668C25
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668C25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668C25 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938213
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#6A8578
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #668c25; /* rgb */ color: rgb(102, 140, 37); /* oklch */ color: oklch(59.1% 0.136 127.9);
Tailwind
colors: {
custom: {
50: '#95ad67',
500: '#668c25',
950: '#000000',
},
}SCSS
$custom: #668c25; $custom-light: #95ad67; $custom-dark: #000000;
JSON
{
"hex": "#668c25",
"rgb": {
"r": 102,
"g": 140,
"b": 37
},
"hsl": {
"h": 82.136,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.59117,
"c": 0.13607,
"h": 127.9
},
"luminance": 0.21715
}Semantic roles & 50–950 ramp
primary
#668C25
secondary
#7A55B8
accent
#46E180
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A