#66841F#66841F
#66841F is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.129 H 125.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #66841F |
|---|---|
| RGB | rgb(102, 132, 31) |
| HSL | hsl(78, 62%, 32%) |
| HSV | hsv(78, 77%, 52%) |
| CMYK | cmyk(22.7%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(51.18, -25.66, 47.67) |
| CIE-LCH | lch(51.18, 54.14, 118.29°) |
| OKLab | oklab(57.04% -0.0744 0.1059) |
| OKLCH | oklch(57.04% 0.129 125.1) |
| XYZ | xyz(13.9782, 19.4261, 4.3092) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 2.98
Dirty Green
#667E2C
ΔE00 3.08
Avocado
#568203
ΔE00 3.24
Sap Green
#5C8B15
ΔE00 3.52
Olivedrab
#6B8E23
ΔE00 3.56
Swamp
#698339
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66841F #3D1F84
analogous
#84701F #66841F #34841F
triadic
#66841F #1F6684 #841F66
tetradic
#66841F #1F8470 #3D1F84 #841F34
square
#66841F #1F8470 #3D1F84 #841F34
split-complementary
#66841F #1F3484 #701F84
monochromatic
#192108 #405213 #66841F #8CB62B #ABD449
Accessibility & contrast
On white
4.30
#66841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#66841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #66841F
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##66841F | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B09
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#6B7D71
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #66841f; /* rgb */ color: rgb(102, 132, 31); /* oklch */ color: oklch(57.0% 0.129 125.1);
Tailwind
colors: {
custom: {
50: '#95a863',
500: '#66841f',
950: '#000000',
},
}SCSS
$custom: #66841f; $custom-light: #95a863; $custom-dark: #000000;
JSON
{
"hex": "#66841f",
"rgb": {
"r": 102,
"g": 132,
"b": 31
},
"hsl": {
"h": 77.822,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.57044,
"c": 0.12942,
"h": 125.1
},
"luminance": 0.19426
}Semantic roles & 50–950 ramp
primary
#66841F
secondary
#6948B7
accent
#43E573
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A