#668C2E#668C2E
#668C2E is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.130 H 128.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #668C2E |
|---|---|
| RGB | rgb(102, 140, 46) |
| HSL | hsl(84, 51%, 36%) |
| HSV | hsv(84, 67%, 55%) |
| CMYK | cmyk(27.1%, 0%, 67.1%, 45.1%) |
| CIE-LAB | lab(53.79, -28.53, 44.31) |
| CIE-LCH | lch(53.79, 52.70, 122.78°) |
| OKLab | oklab(59.19% -0.0809 0.1012) |
| OKLCH | oklch(59.19% 0.13 128.7) |
| XYZ | xyz(15.3507, 21.7779, 5.9790) |
| Luminance | 0.2178 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 0.93
Moss Green (survey)
#658B38
ΔE00 1.77
Olivedrab
#6B8E23
ΔE00 2.20
Sap Green
#5C8B15
ΔE00 2.77
Khaki Green
#728639
ΔE00 4.16
Swamp
#698339
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#668C2E #542E8C
analogous
#8C832E #668C2E #378C2E
triadic
#668C2E #2E668C #8C2E66
tetradic
#668C2E #2E8C83 #542E8C #8C2E37
square
#668C2E #2E8C83 #542E8C #8C2E37
split-complementary
#668C2E #2E378C #832E8C
monochromatic
#233010 #445E1F #668C2E #88BA3D #A4CD67
Accessibility & contrast
On white
3.92
#668C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#668C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #668C2E
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##668C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##668C2E | 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)
#938222
Deuteranopia (green-blind)
#8D8035
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #668c2e; /* rgb */ color: rgb(102, 140, 46); /* oklch */ color: oklch(59.2% 0.130 128.7);
Tailwind
colors: {
custom: {
50: '#95ad6c',
500: '#668c2e',
950: '#000000',
},
}SCSS
$custom: #668c2e; $custom-light: #95ad6c; $custom-dark: #000000;
JSON
{
"hex": "#668c2e",
"rgb": {
"r": 102,
"g": 140,
"b": 46
},
"hsl": {
"h": 84.255,
"s": 50.538,
"l": 36.471
},
"oklch": {
"l": 0.59194,
"c": 0.12957,
"h": 128.7
},
"luminance": 0.21778
}Semantic roles & 50–950 ramp
primary
#668C2E
secondary
#8362B4
accent
#4EDA86
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A