#668F2D#668F2D
#668F2D is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.9% C 0.134 H 129.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #668F2D |
|---|---|
| RGB | rgb(102, 143, 45) |
| HSL | hsl(85, 52%, 37%) |
| HSV | hsv(85, 69%, 56%) |
| CMYK | cmyk(28.7%, 0%, 68.5%, 43.9%) |
| CIE-LAB | lab(54.72, -30.04, 45.72) |
| CIE-LCH | lch(54.72, 54.71, 123.31°) |
| OKLab | oklab(59.95% -0.0852 0.104) |
| OKLCH | oklch(59.95% 0.134 129.3) |
| XYZ | xyz(15.7755, 22.6588, 6.0245) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.48
Olivedrab
#6B8E23
ΔE00 2.00
Moss Green (survey)
#658B38
ΔE00 2.44
Sap Green
#5C8B15
ΔE00 2.78
Khaki Green
#728639
ΔE00 5.01
Swamp
#698339
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668F2D #562D8F
analogous
#8F872D #668F2D #358F2D
triadic
#668F2D #2D668F #8F2D66
tetradic
#668F2D #2D8F87 #562D8F #8F2D35
square
#668F2D #2D8F87 #562D8F #8F2D35
split-complementary
#668F2D #2D358F #872D8F
monochromatic
#243210 #45601E #668F2D #87BE3C #A4CF67
Accessibility & contrast
On white
3.80
#668F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#668F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668F2D
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668F2D | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96851F
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#69897B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #668f2d; /* rgb */ color: rgb(102, 143, 45); /* oklch */ color: oklch(59.9% 0.134 129.3);
Tailwind
colors: {
custom: {
50: '#95b06b',
500: '#668f2d',
950: '#000000',
},
}SCSS
$custom: #668f2d; $custom-light: #95b06b; $custom-dark: #000000;
JSON
{
"hex": "#668f2d",
"rgb": {
"r": 102,
"g": 143,
"b": 45
},
"hsl": {
"h": 85.102,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.59945,
"c": 0.13444,
"h": 129.3
},
"luminance": 0.22659
}Semantic roles & 50–950 ramp
primary
#668F2D
secondary
#8562B6
accent
#4CDC88
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A