#987827#987827
#987827 is a mid, moderate orange. Relative luminance 0.203; OKLCH L 58.9% C 0.104 H 86.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #987827 |
|---|---|
| RGB | rgb(152, 120, 39) |
| HSL | hsl(43, 59%, 37%) |
| HSV | hsv(43, 74%, 60%) |
| CMYK | cmyk(0%, 21.1%, 74.3%, 40.4%) |
| CIE-LAB | lab(52.13, 3.91, 46.93) |
| CIE-LCH | lch(52.13, 47.10, 85.23°) |
| OKLab | oklab(58.88% 0.0064 0.1041) |
| OKLCH | oklch(58.88% 0.104 86.5) |
| XYZ | xyz(20.0328, 20.2562, 4.7738) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Puke Brown
#947706
ΔE00 3.40
Hazel
#8E7618
ΔE00 3.60
Yellowish Brown
#9B7A01
ΔE00 3.60
Poo
#8F7303
ΔE00 4.01
Baby Poop
#937C00
ΔE00 5.19
Bronze (survey)
#A87900
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987827 #274798
analogous
#984027 #987827 #7F9827
triadic
#987827 #279878 #782798
tetradic
#987827 #279840 #274798 #98277F
square
#987827 #279840 #274798 #98277F
split-complementary
#987827 #277F98 #402798
monochromatic
#372B0E #67521B #987827 #C99E33 #D7B663
Accessibility & contrast
On white
4.16
#987827 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#987827 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987827
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987827 | 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)
#87771B
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#A56D68
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #987827; /* rgb */ color: rgb(152, 120, 39); /* oklch */ color: oklch(58.9% 0.104 86.5);
Tailwind
colors: {
custom: {
50: '#ba9e67',
500: '#987827',
950: '#000000',
},
}SCSS
$custom: #987827; $custom-light: #ba9e67; $custom-dark: #000000;
JSON
{
"hex": "#987827",
"rgb": {
"r": 152,
"g": 120,
"b": 39
},
"hsl": {
"h": 43.009,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.58876,
"c": 0.1043,
"h": 86.5
},
"luminance": 0.20255
}Semantic roles & 50–950 ramp
primary
#987827
secondary
#5E79BC
accent
#72E245
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A