#668C2B#668C2B
#668C2B is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.132 H 128.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #668C2B |
|---|---|
| RGB | rgb(102, 140, 43) |
| HSL | hsl(84, 53%, 36%) |
| HSV | hsv(84, 69%, 55%) |
| CMYK | cmyk(27.1%, 0%, 69.3%, 45.1%) |
| CIE-LAB | lab(53.77, -28.76, 45.56) |
| CIE-LCH | lch(53.77, 53.88, 122.26°) |
| OKLab | oklab(59.17% -0.0818 0.1034) |
| OKLCH | oklch(59.17% 0.132 128.4) |
| XYZ | xyz(15.2936, 21.7550, 5.6784) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.67
Olivedrab
#6B8E23
ΔE00 1.84
Moss Green (survey)
#658B38
ΔE00 2.19
Sap Green
#5C8B15
ΔE00 2.46
Khaki Green
#728639
ΔE00 4.28
Swamp
#698339
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668C2B #512B8C
analogous
#8C812B #668C2B #368C2B
triadic
#668C2B #2B668C #8C2B66
tetradic
#668C2B #2B8C81 #512B8C #8C2B36
square
#668C2B #2B8C81 #512B8C #8C2B36
split-complementary
#668C2B #2B368C #812B8C
monochromatic
#222E0E #445D1D #668C2B #88BB39 #A4CF62
Accessibility & contrast
On white
3.92
#668C2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#668C2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668C2B
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668C2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668C2B | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 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)
#93821D
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#698678
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #668c2b; /* rgb */ color: rgb(102, 140, 43); /* oklch */ color: oklch(59.2% 0.132 128.4);
Tailwind
colors: {
custom: {
50: '#95ad6a',
500: '#668c2b',
950: '#000000',
},
}SCSS
$custom: #668c2b; $custom-light: #95ad6a; $custom-dark: #000000;
JSON
{
"hex": "#668c2b",
"rgb": {
"r": 102,
"g": 140,
"b": 43
},
"hsl": {
"h": 83.505,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.59166,
"c": 0.13187,
"h": 128.4
},
"luminance": 0.21755
}Semantic roles & 50–950 ramp
primary
#668C2B
secondary
#805EB5
accent
#4BDC84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A