#87803E#87803E
#87803E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.088 H 103.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #87803E |
|---|---|
| RGB | rgb(135, 128, 62) |
| HSL | hsl(54, 37%, 39%) |
| HSV | hsv(54, 54%, 53%) |
| CMYK | cmyk(0%, 5.2%, 54.1%, 47.1%) |
| CIE-LAB | lab(52.88, -6.71, 36.34) |
| CIE-LCH | lch(52.88, 36.96, 100.47°) |
| OKLab | oklab(59.15% -0.0201 0.0855) |
| OKLCH | oklch(59.15% 0.088 103.3) |
| XYZ | xyz(18.5809, 20.9377, 7.6191) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.84
Dark Khaki
#9B8F55
ΔE00 6.35
Olive Drab
#6F7632
ΔE00 6.76
Olive
#808000
ΔE00 6.93
Hazel
#8E7618
ΔE00 7.48
Khaki Green
#728639
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87803E #3E4587
analogous
#875B3E #87803E #69873E
triadic
#87803E #3E8780 #803E87
tetradic
#87803E #3E875B #3E4587 #873E69
square
#87803E #3E875B #3E4587 #873E69
split-complementary
#87803E #3E6987 #5B3E87
monochromatic
#333017 #5D582B #87803E #B0A752 #C3BC7C
Accessibility & contrast
On white
4.05
#87803E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#87803E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87803E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87803E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87803E | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7C38
Deuteranopia (green-blind)
#8C8041
Tritanopia (blue-blind)
#907871
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #87803e; /* rgb */ color: rgb(135, 128, 62); /* oklch */ color: oklch(59.1% 0.088 103.3);
Tailwind
colors: {
custom: {
50: '#aca475',
500: '#87803e',
950: '#000000',
},
}SCSS
$custom: #87803e; $custom-light: #aca475; $custom-dark: #000000;
JSON
{
"hex": "#87803e",
"rgb": {
"r": 135,
"g": 128,
"b": 62
},
"hsl": {
"h": 54.247,
"s": 37.056,
"l": 38.627
},
"oklch": {
"l": 0.59148,
"c": 0.08787,
"h": 103.3
},
"luminance": 0.20937
}Semantic roles & 50–950 ramp
primary
#87803E
secondary
#7479AD
accent
#66CD5B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F08
muted
#7F7F7B