#81871B#81871B
#81871B is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.9% C 0.124 H 112.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #81871B |
|---|---|
| RGB | rgb(129, 135, 27) |
| HSL | hsl(63, 67%, 32%) |
| HSV | hsv(63, 80%, 53%) |
| CMYK | cmyk(4.4%, 0%, 80%, 47.1%) |
| CIE-LAB | lab(54.11, -15.50, 52.48) |
| CIE-LCH | lch(54.11, 54.72, 106.45°) |
| OKLab | oklab(59.91% -0.0483 0.1145) |
| OKLCH | oklch(59.91% 0.124 112.9) |
| XYZ | xyz(17.9157, 22.0746, 4.3538) |
| Luminance | 0.2207 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.19
Swamp Green
#748500
ΔE00 3.24
Shit Green
#758000
ΔE00 3.39
Poop Green
#6F7C00
ΔE00 5.09
Dark Yellow Green
#728F02
ΔE00 5.54
Baby Shit Green
#889717
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81871B #211B87
analogous
#87571B #81871B #4B871B
triadic
#81871B #1B8187 #871B81
tetradic
#81871B #1B8757 #211B87 #871B4B
square
#81871B #1B8757 #211B87 #871B4B
split-complementary
#81871B #1B4B87 #571B87
monochromatic
#202107 #505411 #81871B #B2BA25 #D1D943
Accessibility & contrast
On white
3.88
#81871B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#81871B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81871B
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81871B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81871B | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#8A7E73
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #81871b; /* rgb */ color: rgb(129, 135, 27); /* oklch */ color: oklch(59.9% 0.124 112.9);
Tailwind
colors: {
custom: {
50: '#a9a962',
500: '#81871b',
950: '#000000',
},
}SCSS
$custom: #81871b; $custom-light: #a9a962; $custom-dark: #000000;
JSON
{
"hex": "#81871b",
"rgb": {
"r": 129,
"g": 135,
"b": 27
},
"hsl": {
"h": 63.333,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.59906,
"c": 0.12425,
"h": 112.9
},
"luminance": 0.22074
}Semantic roles & 50–950 ramp
primary
#81871B
secondary
#4A44BA
accent
#3EEA48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A