#84871F#84871F
#84871F is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.121 H 111.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #84871F |
|---|---|
| RGB | rgb(132, 135, 31) |
| HSL | hsl(62, 63%, 33%) |
| HSV | hsv(62, 77%, 53%) |
| CMYK | cmyk(2.2%, 0%, 77%, 47.1%) |
| CIE-LAB | lab(54.38, -13.97, 51.50) |
| CIE-LCH | lch(54.38, 53.36, 105.17°) |
| OKLab | oklab(60.19% -0.0439 0.113) |
| OKLCH | oklch(60.19% 0.121 111.2) |
| XYZ | xyz(18.4277, 22.3329, 4.6360) |
| Luminance | 0.2233 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.11
Shit Green
#758000
ΔE00 4.00
Swamp Green
#748500
ΔE00 4.09
Poop Green
#6F7C00
ΔE00 5.65
Baby Shit Green
#889717
ΔE00 5.79
Drab
#828344
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#84871F #221F87
analogous
#87561F #84871F #50871F
triadic
#84871F #1F8487 #871F84
tetradic
#84871F #1F8756 #221F87 #871F50
square
#84871F #1F8756 #221F87 #871F50
split-complementary
#84871F #1F5087 #561F87
monochromatic
#232308 #535514 #84871F #B5B92A #D2D64B
Accessibility & contrast
On white
3.84
#84871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#84871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #84871F
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##84871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##84871F | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#938328
Tritanopia (blue-blind)
#8E7E73
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #84871f; /* rgb */ color: rgb(132, 135, 31); /* oklch */ color: oklch(60.2% 0.121 111.2);
Tailwind
colors: {
custom: {
50: '#aba964',
500: '#84871f',
950: '#000000',
},
}SCSS
$custom: #84871f; $custom-light: #aba964; $custom-dark: #000000;
JSON
{
"hex": "#84871f",
"rgb": {
"r": 132,
"g": 135,
"b": 31
},
"hsl": {
"h": 61.731,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.60192,
"c": 0.12125,
"h": 111.2
},
"luminance": 0.22332
}Semantic roles & 50–950 ramp
primary
#84871F
secondary
#4D4AB8
accent
#42E647
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F06
muted
#7F7F7A