#98771B#98771B
#98771B is a mid, moderate orange. Relative luminance 0.199; OKLCH L 58.6% C 0.111 H 87.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #98771B |
|---|---|
| RGB | rgb(152, 119, 27) |
| HSL | hsl(44, 70%, 35%) |
| HSV | hsv(44, 82%, 60%) |
| CMYK | cmyk(0%, 21.7%, 82.2%, 40.4%) |
| CIE-LAB | lab(51.78, 3.97, 51.23) |
| CIE-LCH | lch(51.78, 51.39, 85.57°) |
| OKLab | oklab(58.58% 0.0052 0.1107) |
| OKLCH | oklch(58.58% 0.111 87.3) |
| XYZ | xyz(19.7448, 19.9496, 3.8474) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Puke Brown
#947706
ΔE00 2.28
Yellowish Brown
#9B7A01
ΔE00 2.46
Poo
#8F7303
ΔE00 3.04
Hazel
#8E7618
ΔE00 3.18
Baby Poop
#937C00
ΔE00 4.45
Bronze (survey)
#A87900
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98771B #1B3C98
analogous
#98391B #98771B #7A981B
triadic
#98771B #1B9877 #771B98
tetradic
#98771B #1B9839 #1B3C98 #981B7A
square
#98771B #1B9839 #1B3C98 #981B7A
split-complementary
#98771B #1B7A98 #391B98
monochromatic
#302609 #644E12 #98771B #CCA024 #E0B94E
Accessibility & contrast
On white
4.21
#98771B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#98771B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98771B
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98771B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98771B | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#A56C66
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #98771b; /* rgb */ color: rgb(152, 119, 27); /* oklch */ color: oklch(58.6% 0.111 87.3);
Tailwind
colors: {
custom: {
50: '#bb9d60',
500: '#98771b',
950: '#000000',
},
}SCSS
$custom: #98771b; $custom-light: #bb9d60; $custom-dark: #000000;
JSON
{
"hex": "#98771b",
"rgb": {
"r": 152,
"g": 119,
"b": 27
},
"hsl": {
"h": 44.16,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.5858,
"c": 0.11077,
"h": 87.3
},
"luminance": 0.19948
}Semantic roles & 50–950 ramp
primary
#98771B
secondary
#4D6CC2
accent
#6AED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79