#87842E#87842E
#87842E is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.9% C 0.107 H 107.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #87842E |
|---|---|
| RGB | rgb(135, 132, 46) |
| HSL | hsl(58, 49%, 35%) |
| HSV | hsv(58, 66%, 53%) |
| CMYK | cmyk(0%, 2.2%, 65.9%, 47.1%) |
| CIE-LAB | lab(53.87, -10.16, 45.15) |
| CIE-LCH | lch(53.87, 46.28, 102.69°) |
| OKLab | oklab(59.88% -0.0319 0.1022) |
| OKLCH | oklch(59.88% 0.107 107.3) |
| XYZ | xyz(18.7367, 21.8513, 5.8150) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.04
Drab
#828344
ΔE00 4.35
Shit Green
#758000
ΔE00 5.48
Swamp Green
#748500
ΔE00 6.15
Poop Green
#6F7C00
ΔE00 6.65
Khaki Green
#728639
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87842E #2E3187
analogous
#87582E #87842E #5D872E
triadic
#87842E #2E8784 #842E87
tetradic
#87842E #2E8758 #2E3187 #872E5D
square
#87842E #2E8758 #2E3187 #872E5D
split-complementary
#87842E #2E5D87 #582E87
monochromatic
#2C2B0F #59571E #87842E #B5B13E #CAC765
Accessibility & contrast
On white
3.91
#87842E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#87842E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87842E
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87842E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87842E | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#918233
Tritanopia (blue-blind)
#917C72
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #87842e; /* rgb */ color: rgb(135, 132, 46); /* oklch */ color: oklch(59.9% 0.107 107.3);
Tailwind
colors: {
custom: {
50: '#ada76b',
500: '#87842e',
950: '#000000',
},
}SCSS
$custom: #87842e; $custom-light: #ada76b; $custom-dark: #000000;
JSON
{
"hex": "#87842e",
"rgb": {
"r": 135,
"g": 132,
"b": 46
},
"hsl": {
"h": 57.978,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.59882,
"c": 0.10705,
"h": 107.3
},
"luminance": 0.21851
}Semantic roles & 50–950 ramp
primary
#87842E
secondary
#6062B1
accent
#54D94F
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F07
muted
#7F7F7A