#987126#987126
#987126 is a mid, moderate orange. Relative luminance 0.186; OKLCH L 57.4% C 0.102 H 80.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #987126 |
|---|---|
| RGB | rgb(152, 113, 38) |
| HSL | hsl(39, 60%, 37%) |
| HSV | hsv(39, 75%, 60%) |
| CMYK | cmyk(0%, 25.7%, 75%, 40.4%) |
| CIE-LAB | lab(50.25, 7.85, 45.50) |
| CIE-LCH | lch(50.25, 46.17, 80.21°) |
| OKLab | oklab(57.4% 0.0177 0.1008) |
| OKLCH | oklch(57.4% 0.102 80.1) |
| XYZ | xyz(19.2051, 18.6270, 4.4172) |
| Luminance | 0.1863 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Muddy Brown
#886806
ΔE00 5.48
Bronze (survey)
#A87900
ΔE00 5.71
Poo
#8F7303
ΔE00 5.77
Puke Brown
#947706
ΔE00 5.90
Hazel
#8E7618
ΔE00 6.11
Yellowish Brown
#9B7A01
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987126 #264D98
analogous
#983826 #987126 #869826
triadic
#987126 #269871 #712698
tetradic
#987126 #269838 #264D98 #982686
square
#987126 #269838 #264D98 #982686
split-complementary
#987126 #268698 #382698
monochromatic
#36280E #674D1A #987126 #C99532 #D7AF61
Accessibility & contrast
On white
4.44
#987126 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#987126 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987126
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987126 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80721B
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#A56662
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #987126; /* rgb */ color: rgb(152, 113, 38); /* oklch */ color: oklch(57.4% 0.102 80.1);
Tailwind
colors: {
custom: {
50: '#ba9965',
500: '#987126',
950: '#000000',
},
}SCSS
$custom: #987126; $custom-light: #ba9965; $custom-dark: #000000;
JSON
{
"hex": "#987126",
"rgb": {
"r": 152,
"g": 113,
"b": 38
},
"hsl": {
"h": 39.474,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.57399,
"c": 0.10238,
"h": 80.1
},
"luminance": 0.18626
}Semantic roles & 50–950 ramp
primary
#987126
secondary
#5D7EBD
accent
#7BE345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120D06
muted
#817E7A