#987828#987828
#987828 is a mid, moderate orange. Relative luminance 0.203; OKLCH L 58.9% C 0.104 H 86.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #987828 |
|---|---|
| RGB | rgb(152, 120, 40) |
| HSL | hsl(43, 58%, 38%) |
| HSV | hsv(43, 74%, 60%) |
| CMYK | cmyk(0%, 21.1%, 73.7%, 40.4%) |
| CIE-LAB | lab(52.13, 3.96, 46.52) |
| CIE-LCH | lch(52.13, 46.68, 85.13°) |
| OKLab | oklab(58.88% 0.0067 0.1034) |
| OKLCH | oklch(58.88% 0.104 86.3) |
| XYZ | xyz(20.0496, 20.2629, 4.8622) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Puke Brown
#947706
ΔE00 3.54
Hazel
#8E7618
ΔE00 3.69
Yellowish Brown
#9B7A01
ΔE00 3.75
Poo
#8F7303
ΔE00 4.13
Bronze (survey)
#A87900
ΔE00 5.28
Baby Poop
#937C00
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987828 #284898
analogous
#984028 #987828 #809828
triadic
#987828 #289878 #782898
tetradic
#987828 #289840 #284898 #982880
square
#987828 #289840 #284898 #982880
split-complementary
#987828 #288098 #402898
monochromatic
#372B0F #68521B #987828 #C89E35 #D6B664
Accessibility & contrast
On white
4.16
#987828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#987828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987828
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987828 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87771D
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#A56D68
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #987828; /* rgb */ color: rgb(152, 120, 40); /* oklch */ color: oklch(58.9% 0.104 86.3);
Tailwind
colors: {
custom: {
50: '#ba9e67',
500: '#987828',
950: '#000000',
},
}SCSS
$custom: #987828; $custom-light: #ba9e67; $custom-dark: #000000;
JSON
{
"hex": "#987828",
"rgb": {
"r": 152,
"g": 120,
"b": 40
},
"hsl": {
"h": 42.857,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.58884,
"c": 0.10363,
"h": 86.3
},
"luminance": 0.20262
}Semantic roles & 50–950 ramp
primary
#987828
secondary
#607ABC
accent
#73E246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A