#81871E#81871E
#81871E is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.9% C 0.123 H 112.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #81871E |
|---|---|
| RGB | rgb(129, 135, 30) |
| HSL | hsl(63, 64%, 32%) |
| HSV | hsv(63, 78%, 53%) |
| CMYK | cmyk(4.4%, 0%, 77.8%, 47.1%) |
| CIE-LAB | lab(54.12, -15.37, 51.52) |
| CIE-LCH | lch(54.12, 53.76, 106.61°) |
| OKLab | oklab(59.92% -0.0477 0.113) |
| OKLCH | oklch(59.92% 0.123 112.9) |
| XYZ | xyz(17.9522, 22.0892, 4.5460) |
| Luminance | 0.2209 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 3.32
Olive
#808000
ΔE00 3.35
Shit Green
#758000
ΔE00 3.48
Poop Green
#6F7C00
ΔE00 5.12
Dark Yellow Green
#728F02
ΔE00 5.57
Baby Shit Green
#889717
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81871E #241E87
analogous
#87591E #81871E #4C871E
triadic
#81871E #1E8187 #871E81
tetradic
#81871E #1E8759 #241E87 #871E4C
square
#81871E #1E8759 #241E87 #871E4C
split-complementary
#81871E #1E4C87 #591E87
monochromatic
#212308 #515513 #81871E #B1B929 #CED749
Accessibility & contrast
On white
3.88
#81871E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#81871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81871E
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81871E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81871E | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928004
Deuteranopia (green-blind)
#928227
Tritanopia (blue-blind)
#8A7E73
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #81871e; /* rgb */ color: rgb(129, 135, 30); /* oklch */ color: oklch(59.9% 0.123 112.9);
Tailwind
colors: {
custom: {
50: '#a9a963',
500: '#81871e',
950: '#000000',
},
}SCSS
$custom: #81871e; $custom-light: #a9a963; $custom-dark: #000000;
JSON
{
"hex": "#81871e",
"rgb": {
"r": 129,
"g": 135,
"b": 30
},
"hsl": {
"h": 63.429,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.59923,
"c": 0.12264,
"h": 112.9
},
"luminance": 0.22089
}Semantic roles & 50–950 ramp
primary
#81871E
secondary
#4E48B9
accent
#41E74B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A