#668A1E#668A1E
#668A1E is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.138 H 126.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #668A1E |
|---|---|
| RGB | rgb(102, 138, 30) |
| HSL | hsl(80, 64%, 33%) |
| HSV | hsv(80, 78%, 54%) |
| CMYK | cmyk(26.1%, 0%, 78.3%, 45.9%) |
| CIE-LAB | lab(53.05, -28.63, 49.81) |
| CIE-LCH | lch(53.05, 57.45, 119.90°) |
| OKLab | oklab(58.56% -0.0826 0.1102) |
| OKLCH | oklch(58.56% 0.138 126.8) |
| XYZ | xyz(14.8024, 21.0952, 4.5200) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.50
Olivedrab
#6B8E23
ΔE00 1.55
Sap Green
#5C8B15
ΔE00 1.97
Moss Green (survey)
#658B38
ΔE00 3.73
Avocado
#568203
ΔE00 3.89
Dark Yellow Green
#728F02
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668A1E #421E8A
analogous
#8A781E #668A1E #308A1E
triadic
#668A1E #1E668A #8A1E66
tetradic
#668A1E #1E8A78 #421E8A #8A1E30
square
#668A1E #1E8A78 #421E8A #8A1E30
split-complementary
#668A1E #1E308A #781E8A
monochromatic
#1C2508 #415813 #668A1E #8BBC29 #A9D84B
Accessibility & contrast
On white
4.02
#668A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#668A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668A1E
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668A1E | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918003
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#6A8376
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #668a1e; /* rgb */ color: rgb(102, 138, 30); /* oklch */ color: oklch(58.6% 0.138 126.8);
Tailwind
colors: {
custom: {
50: '#95ac63',
500: '#668a1e',
950: '#000000',
},
}SCSS
$custom: #668a1e; $custom-light: #95ac63; $custom-dark: #000000;
JSON
{
"hex": "#668a1e",
"rgb": {
"r": 102,
"g": 138,
"b": 30
},
"hsl": {
"h": 80,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.5856,
"c": 0.13774,
"h": 126.8
},
"luminance": 0.21095
}Semantic roles & 50–950 ramp
primary
#668A1E
secondary
#6F4ABA
accent
#41E778
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A