#98781B#98781B
#98781B is a mid, moderate orange. Relative luminance 0.202; OKLCH L 58.8% C 0.111 H 88.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #98781B |
|---|---|
| RGB | rgb(152, 120, 27) |
| HSL | hsl(45, 70%, 35%) |
| HSV | hsv(45, 82%, 60%) |
| CMYK | cmyk(0%, 21.1%, 82.2%, 40.4%) |
| CIE-LAB | lab(52.05, 3.40, 51.47) |
| CIE-LCH | lch(52.05, 51.58, 86.22°) |
| OKLab | oklab(58.79% 0.0036 0.1112) |
| OKLCH | oklch(58.79% 0.111 88.1) |
| XYZ | xyz(19.8644, 20.1888, 3.8873) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Puke Brown
#947706
ΔE00 2.03
Yellowish Brown
#9B7A01
ΔE00 2.18
Hazel
#8E7618
ΔE00 2.97
Poo
#8F7303
ΔE00 3.00
Baby Poop
#937C00
ΔE00 4.02
Bronze (survey)
#A87900
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98781B #1B3B98
analogous
#983A1B #98781B #79981B
triadic
#98781B #1B9878 #781B98
tetradic
#98781B #1B983A #1B3B98 #981B79
square
#98781B #1B983A #1B3B98 #981B79
split-complementary
#98781B #1B7998 #3A1B98
monochromatic
#302609 #644F12 #98781B #CCA124 #E0BA4E
Accessibility & contrast
On white
4.17
#98781B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#98781B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98781B
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98781B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98781B | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#A56D67
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #98781b; /* rgb */ color: rgb(152, 120, 27); /* oklch */ color: oklch(58.8% 0.111 88.1);
Tailwind
colors: {
custom: {
50: '#bb9e60',
500: '#98781b',
950: '#000000',
},
}SCSS
$custom: #98781b; $custom-light: #bb9e60; $custom-dark: #000000;
JSON
{
"hex": "#98781b",
"rgb": {
"r": 152,
"g": 120,
"b": 27
},
"hsl": {
"h": 44.64,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.58792,
"c": 0.11123,
"h": 88.1
},
"luminance": 0.20187
}Semantic roles & 50–950 ramp
primary
#98781B
secondary
#4D6BC2
accent
#69ED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79