#668F1F#668F1F
#668F1F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.8% C 0.144 H 128.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #668F1F |
|---|---|
| RGB | rgb(102, 143, 31) |
| HSL | hsl(82, 64%, 34%) |
| HSV | hsv(82, 78%, 56%) |
| CMYK | cmyk(28.7%, 0%, 78.3%, 43.9%) |
| CIE-LAB | lab(54.62, -30.96, 50.95) |
| CIE-LCH | lch(54.62, 59.62, 121.28°) |
| OKLab | oklab(59.84% -0.0888 0.1128) |
| OKLCH | oklch(59.84% 0.144 128.2) |
| XYZ | xyz(15.5493, 22.5683, 4.8329) |
| Luminance | 0.2257 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Olivedrab
#6B8E23
ΔE00 1.11
Mossy Green
#638B27
ΔE00 1.92
Sap Green
#5C8B15
ΔE00 2.10
Dark Yellow Green
#728F02
ΔE00 3.85
Moss Green (survey)
#658B38
ΔE00 3.96
Avocado
#568203
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668F1F #481F8F
analogous
#8F801F #668F1F #2E8F1F
triadic
#668F1F #1F668F #8F1F66
tetradic
#668F1F #1F8F80 #481F8F #8F1F2E
square
#668F1F #1F8F80 #481F8F #8F1F2E
split-complementary
#668F1F #1F2E8F #801F8F
monochromatic
#1E2A09 #425D14 #668F1F #8AC12A #A7D94F
Accessibility & contrast
On white
3.81
#668F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#668F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668F1F
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668F1F | 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)
#968402
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #668f1f; /* rgb */ color: rgb(102, 143, 31); /* oklch */ color: oklch(59.8% 0.144 128.2);
Tailwind
colors: {
custom: {
50: '#95b064',
500: '#668f1f',
950: '#000000',
},
}SCSS
$custom: #668f1f; $custom-light: #95b064; $custom-dark: #000000;
JSON
{
"hex": "#668f1f",
"rgb": {
"r": 102,
"g": 143,
"b": 31
},
"hsl": {
"h": 81.964,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.59838,
"c": 0.14358,
"h": 128.2
},
"luminance": 0.22569
}Semantic roles & 50–950 ramp
primary
#668F1F
secondary
#764EBC
accent
#40E77E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A