#668C2A#668C2A
#668C2A is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.2% C 0.133 H 128.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #668C2A |
|---|---|
| RGB | rgb(102, 140, 42) |
| HSL | hsl(83, 54%, 36%) |
| HSV | hsv(83, 70%, 55%) |
| CMYK | cmyk(27.1%, 0%, 70%, 45.1%) |
| CIE-LAB | lab(53.76, -28.84, 45.97) |
| CIE-LCH | lch(53.76, 54.27, 122.10°) |
| OKLab | oklab(59.16% -0.0821 0.1041) |
| OKLCH | oklch(59.16% 0.133 128.3) |
| XYZ | xyz(15.2755, 21.7478, 5.5830) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.63
Olivedrab
#6B8E23
ΔE00 1.73
Moss Green (survey)
#658B38
ΔE00 2.32
Sap Green
#5C8B15
ΔE00 2.37
Khaki Green
#728639
ΔE00 4.33
Swamp
#698339
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668C2A #502A8C
analogous
#8C812A #668C2A #358C2A
triadic
#668C2A #2A668C #8C2A66
tetradic
#668C2A #2A8C81 #502A8C #8C2A35
square
#668C2A #2A8C81 #502A8C #8C2A35
split-complementary
#668C2A #2A358C #812A8C
monochromatic
#212E0E #445D1C #668C2A #88BB38 #A5D061
Accessibility & contrast
On white
3.93
#668C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#668C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668C2A
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668C2A | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 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)
#93821B
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#698678
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #668c2a; /* rgb */ color: rgb(102, 140, 42); /* oklch */ color: oklch(59.2% 0.133 128.3);
Tailwind
colors: {
custom: {
50: '#95ad69',
500: '#668c2a',
950: '#000000',
},
}SCSS
$custom: #668c2a; $custom-light: #95ad69; $custom-dark: #000000;
JSON
{
"hex": "#668c2a",
"rgb": {
"r": 102,
"g": 140,
"b": 42
},
"hsl": {
"h": 83.265,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.59157,
"c": 0.13261,
"h": 128.3
},
"luminance": 0.21748
}Semantic roles & 50–950 ramp
primary
#668C2A
secondary
#7F5CB5
accent
#4BDD83
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A