#668B2C#668B2C
#668B2C is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.130 H 128.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #668B2C |
|---|---|
| RGB | rgb(102, 139, 44) |
| HSL | hsl(83, 52%, 36%) |
| HSV | hsv(83, 68%, 55%) |
| CMYK | cmyk(26.6%, 0%, 68.3%, 45.5%) |
| CIE-LAB | lab(53.46, -28.21, 44.82) |
| CIE-LCH | lch(53.46, 52.96, 122.18°) |
| OKLab | oklab(58.92% -0.0802 0.102) |
| OKLCH | oklch(58.92% 0.13 128.2) |
| XYZ | xyz(15.1667, 21.4715, 5.7277) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.74
Moss Green (survey)
#658B38
ΔE00 1.98
Olivedrab
#6B8E23
ΔE00 2.11
Sap Green
#5C8B15
ΔE00 2.62
Khaki Green
#728639
ΔE00 3.99
Swamp
#698339
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668B2C #512C8B
analogous
#8B802C #668B2C #368B2C
triadic
#668B2C #2C668B #8B2C66
tetradic
#668B2C #2C8B80 #512C8B #8B2C36
square
#668B2C #2C8B80 #512C8B #8B2C36
split-complementary
#668B2C #2C368B #802C8B
monochromatic
#222E0F #445D1D #668B2C #88B93B #A4CE64
Accessibility & contrast
On white
3.97
#668B2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#668B2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668B2C
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668B2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668B2C | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811F
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#698578
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #668b2c; /* rgb */ color: rgb(102, 139, 44); /* oklch */ color: oklch(58.9% 0.130 128.2);
Tailwind
colors: {
custom: {
50: '#95ad6a',
500: '#668b2c',
950: '#000000',
},
}SCSS
$custom: #668b2c; $custom-light: #95ad6a; $custom-dark: #000000;
JSON
{
"hex": "#668b2c",
"rgb": {
"r": 102,
"g": 139,
"b": 44
},
"hsl": {
"h": 83.368,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.58922,
"c": 0.12976,
"h": 128.2
},
"luminance": 0.21472
}Semantic roles & 50–950 ramp
primary
#668B2C
secondary
#805FB4
accent
#4CDB84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A