#668F1A#668F1A
#668F1A is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.146 H 127.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #668F1A |
|---|---|
| RGB | rgb(102, 143, 26) |
| HSL | hsl(81, 69%, 33%) |
| HSV | hsv(81, 82%, 56%) |
| CMYK | cmyk(28.7%, 0%, 81.8%, 43.9%) |
| CIE-LAB | lab(54.60, -31.20, 52.51) |
| CIE-LCH | lch(54.60, 61.08, 120.72°) |
| OKLab | oklab(59.81% -0.0899 0.1153) |
| OKLCH | oklch(59.81% 0.146 127.9) |
| XYZ | xyz(15.4884, 22.5439, 4.5125) |
| Luminance | 0.2254 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Olivedrab
#6B8E23
ΔE00 1.23
Sap Green
#5C8B15
ΔE00 2.13
Mossy Green
#638B27
ΔE00 2.28
Dark Yellow Green
#728F02
ΔE00 3.48
Moss Green (survey)
#658B38
ΔE00 4.42
Avocado
#568203
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668F1A #431A8F
analogous
#8F7D1A #668F1A #2B8F1A
triadic
#668F1A #1A668F #8F1A66
tetradic
#668F1A #1A8F7D #431A8F #8F1A2B
square
#668F1A #1A8F7D #431A8F #8F1A2B
split-complementary
#668F1A #1A2B8F #7D1A8F
monochromatic
#1C2707 #415B11 #668F1A #8BC323 #A8DD46
Accessibility & contrast
On white
3.81
#668F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#668F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668F1A
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668F1A | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #668f1a; /* rgb */ color: rgb(102, 143, 26); /* oklch */ color: oklch(59.8% 0.146 127.9);
Tailwind
colors: {
custom: {
50: '#96b062',
500: '#668f1a',
950: '#000000',
},
}SCSS
$custom: #668f1a; $custom-light: #96b062; $custom-dark: #000000;
JSON
{
"hex": "#668f1a",
"rgb": {
"r": 102,
"g": 143,
"b": 26
},
"hsl": {
"h": 81.026,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.59809,
"c": 0.14616,
"h": 127.9
},
"luminance": 0.22544
}Semantic roles & 50–950 ramp
primary
#668F1A
secondary
#7046BF
accent
#3CEC7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A