#66811C#66811C
#66811C is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.127 H 123.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #66811C |
|---|---|
| RGB | rgb(102, 129, 28) |
| HSL | hsl(76, 64%, 31%) |
| HSV | hsv(76, 78%, 51%) |
| CMYK | cmyk(20.9%, 0%, 78.3%, 49.4%) |
| CIE-LAB | lab(50.23, -24.33, 47.83) |
| CIE-LCH | lch(50.23, 53.66, 116.96°) |
| OKLab | oklab(56.27% -0.071 0.1057) |
| OKLCH | oklch(56.27% 0.127 123.9) |
| XYZ | xyz(13.5395, 18.6090, 3.9770) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.58
Avocado
#568203
ΔE00 3.39
Olive Green
#677A04
ΔE00 3.46
Murky Green
#6C7A0E
ΔE00 3.97
Mossy Green
#638B27
ΔE00 4.14
Swamp
#698339
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66811C #371C81
analogous
#81691C #66811C #33811C
triadic
#66811C #1C6681 #811C66
tetradic
#66811C #1C8169 #371C81 #811C33
square
#66811C #1C8169 #371C81 #811C33
split-complementary
#66811C #1C3381 #691C81
monochromatic
#161C06 #3E4F11 #66811C #8EB327 #AED642
Accessibility & contrast
On white
4.45
#66811C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#66811C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #66811C
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66811C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##66811C | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897804
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#6B7A6E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #66811c; /* rgb */ color: rgb(102, 129, 28); /* oklch */ color: oklch(56.3% 0.127 123.9);
Tailwind
colors: {
custom: {
50: '#95a561',
500: '#66811c',
950: '#000000',
},
}SCSS
$custom: #66811c; $custom-light: #95a561; $custom-dark: #000000;
JSON
{
"hex": "#66811c",
"rgb": {
"r": 102,
"g": 129,
"b": 28
},
"hsl": {
"h": 76.04,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.56265,
"c": 0.12735,
"h": 123.9
},
"luminance": 0.18609
}Semantic roles & 50–950 ramp
primary
#66811C
secondary
#6244B4
accent
#40E76D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A