#66821E#66821E
#66821E is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.127 H 124.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #66821E |
|---|---|
| RGB | rgb(102, 130, 30) |
| HSL | hsl(77, 63%, 31%) |
| HSV | hsv(77, 77%, 51%) |
| CMYK | cmyk(21.5%, 0%, 76.9%, 49%) |
| CIE-LAB | lab(50.55, -24.72, 47.43) |
| CIE-LCH | lch(50.55, 53.48, 117.53°) |
| OKLab | oklab(56.53% -0.0719 0.1052) |
| OKLCH | oklch(56.53% 0.127 124.4) |
| XYZ | xyz(13.6966, 18.8837, 4.1514) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.61
Avocado
#568203
ΔE00 3.32
Mossy Green
#638B27
ΔE00 3.71
Olive Green
#677A04
ΔE00 3.89
Swamp
#698339
ΔE00 3.91
Khaki Green
#728639
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66821E #3A1E82
analogous
#826C1E #66821E #34821E
triadic
#66821E #1E6682 #821E66
tetradic
#66821E #1E826C #3A1E82 #821E34
square
#66821E #1E826C #3A1E82 #821E34
split-complementary
#66821E #1E3482 #6C1E82
monochromatic
#181F07 #3F5013 #66821E #8DB429 #ACD446
Accessibility & contrast
On white
4.40
#66821E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#66821E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #66821E
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66821E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##66821E | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7908
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#6B7B6F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #66821e; /* rgb */ color: rgb(102, 130, 30); /* oklch */ color: oklch(56.5% 0.127 124.4);
Tailwind
colors: {
custom: {
50: '#95a662',
500: '#66821e',
950: '#000000',
},
}SCSS
$custom: #66821e; $custom-light: #95a662; $custom-dark: #000000;
JSON
{
"hex": "#66821e",
"rgb": {
"r": 102,
"g": 130,
"b": 30
},
"hsl": {
"h": 76.8,
"s": 62.5,
"l": 31.373
},
"oklch": {
"l": 0.56531,
"c": 0.12745,
"h": 124.4
},
"luminance": 0.18884
}Semantic roles & 50–950 ramp
primary
#66821E
secondary
#6647B5
accent
#42E670
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A