#987229#987229
#987229 is a mid, moderate orange. Relative luminance 0.189; OKLCH L 57.6% C 0.101 H 80.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #987229 |
|---|---|
| RGB | rgb(152, 114, 41) |
| HSL | hsl(39, 58%, 38%) |
| HSV | hsv(39, 73%, 60%) |
| CMYK | cmyk(0%, 25%, 73%, 40.4%) |
| CIE-LAB | lab(50.54, 7.43, 44.46) |
| CIE-LCH | lch(50.54, 45.08, 80.51°) |
| OKLab | oklab(57.63% 0.0169 0.0993) |
| OKLCH | oklch(57.63% 0.101 80.4) |
| XYZ | xyz(19.3677, 18.8716, 4.7199) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Muddy Brown
#886806
ΔE00 5.73
Poo
#8F7303
ΔE00 5.80
Bronze (survey)
#A87900
ΔE00 5.80
Puke Brown
#947706
ΔE00 5.86
Hazel
#8E7618
ΔE00 5.98
Yellowish Brown
#9B7A01
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987229 #294F98
analogous
#983A29 #987229 #879829
triadic
#987229 #299872 #722998
tetradic
#987229 #29983A #294F98 #982987
square
#987229 #29983A #294F98 #982987
split-complementary
#987229 #298798 #3A2998
monochromatic
#382A0F #684E1C #987229 #C89636 #D6AF66
Accessibility & contrast
On white
4.40
#987229 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#987229 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987229
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987229 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81731F
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#A56763
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #987229; /* rgb */ color: rgb(152, 114, 41); /* oklch */ color: oklch(57.6% 0.101 80.4);
Tailwind
colors: {
custom: {
50: '#ba9a67',
500: '#987229',
950: '#000000',
},
}SCSS
$custom: #987229; $custom-light: #ba9a67; $custom-dark: #000000;
JSON
{
"hex": "#987229",
"rgb": {
"r": 152,
"g": 114,
"b": 41
},
"hsl": {
"h": 39.459,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.57633,
"c": 0.10067,
"h": 80.4
},
"luminance": 0.1887
}Semantic roles & 50–950 ramp
primary
#987229
secondary
#6180BC
accent
#7CE147
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A