#668C2F#668C2F
#668C2F is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.129 H 128.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #668C2F |
|---|---|
| RGB | rgb(102, 140, 47) |
| HSL | hsl(85, 50%, 37%) |
| HSV | hsv(85, 66%, 55%) |
| CMYK | cmyk(27.1%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(53.80, -28.45, 43.88) |
| CIE-LCH | lch(53.80, 52.30, 122.96°) |
| OKLab | oklab(59.2% -0.0806 0.1004) |
| OKLCH | oklch(59.2% 0.129 128.8) |
| XYZ | xyz(15.3706, 21.7858, 6.0840) |
| Luminance | 0.2179 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.05
Moss Green (survey)
#658B38
ΔE00 1.62
Olivedrab
#6B8E23
ΔE00 2.33
Sap Green
#5C8B15
ΔE00 2.89
Swamp
#698339
ΔE00 4.09
Khaki Green
#728639
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668C2F #552F8C
analogous
#8C842F #668C2F #388C2F
triadic
#668C2F #2F668C #8C2F66
tetradic
#668C2F #2F8C84 #552F8C #8C2F38
square
#668C2F #2F8C84 #552F8C #8C2F38
split-complementary
#668C2F #2F388C #842F8C
monochromatic
#233010 #455E20 #668C2F #87BA3E #A4CD69
Accessibility & contrast
On white
3.92
#668C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#668C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668C2F
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668C2F | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #668c2f; /* rgb */ color: rgb(102, 140, 47); /* oklch */ color: oklch(59.2% 0.129 128.8);
Tailwind
colors: {
custom: {
50: '#95ae6c',
500: '#668c2f',
950: '#000000',
},
}SCSS
$custom: #668c2f; $custom-light: #95ae6c; $custom-dark: #000000;
JSON
{
"hex": "#668c2f",
"rgb": {
"r": 102,
"g": 140,
"b": 47
},
"hsl": {
"h": 84.516,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.59203,
"c": 0.12879,
"h": 128.8
},
"luminance": 0.21786
}Semantic roles & 50–950 ramp
primary
#668C2F
secondary
#8463B4
accent
#4FD987
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A