#87841E#87841E
#87841E is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.118 H 107.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #87841E |
|---|---|
| RGB | rgb(135, 132, 30) |
| HSL | hsl(58, 64%, 32%) |
| HSV | hsv(58, 78%, 53%) |
| CMYK | cmyk(0%, 2.2%, 77.8%, 47.1%) |
| CIE-LAB | lab(53.76, -11.03, 51.37) |
| CIE-LCH | lch(53.76, 52.54, 102.12°) |
| OKLab | oklab(59.76% -0.036 0.1124) |
| OKLCH | oklch(59.76% 0.118 107.7) |
| XYZ | xyz(18.4780, 21.7478, 4.4524) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.48
Shit Green
#758000
ΔE00 4.69
Swamp Green
#748500
ΔE00 5.46
Poop Green
#6F7C00
ΔE00 6.14
Drab
#828344
ΔE00 6.25
Baby Poop
#937C00
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87841E #1E2187
analogous
#87501E #87841E #55871E
triadic
#87841E #1E8784 #841E87
tetradic
#87841E #1E8750 #1E2187 #871E55
square
#87841E #1E8750 #1E2187 #871E55
split-complementary
#87841E #1E5587 #501E87
monochromatic
#232208 #555313 #87841E #B9B529 #D7D249
Accessibility & contrast
On white
3.93
#87841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#87841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87841E
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87841E | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#917B71
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #87841e; /* rgb */ color: rgb(135, 132, 30); /* oklch */ color: oklch(59.8% 0.118 107.7);
Tailwind
colors: {
custom: {
50: '#ada763',
500: '#87841e',
950: '#000000',
},
}SCSS
$custom: #87841e; $custom-light: #ada763; $custom-dark: #000000;
JSON
{
"hex": "#87841e",
"rgb": {
"r": 135,
"g": 132,
"b": 30
},
"hsl": {
"h": 58.286,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.59758,
"c": 0.11804,
"h": 107.7
},
"luminance": 0.21747
}Semantic roles & 50–950 ramp
primary
#87841E
secondary
#484BB9
accent
#46E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A