#98781F#98781F
#98781F is a mid, moderate orange. Relative luminance 0.202; OKLCH L 58.8% C 0.109 H 87.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #98781F |
|---|---|
| RGB | rgb(152, 120, 31) |
| HSL | hsl(44, 66%, 36%) |
| HSV | hsv(44, 80%, 60%) |
| CMYK | cmyk(0%, 21.1%, 79.6%, 40.4%) |
| CIE-LAB | lab(52.07, 3.55, 50.07) |
| CIE-LCH | lch(52.07, 50.20, 85.94°) |
| OKLab | oklab(58.82% 0.0044 0.1091) |
| OKLCH | oklch(58.82% 0.109 87.7) |
| XYZ | xyz(19.9139, 20.2086, 4.1479) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Puke Brown
#947706
ΔE00 2.42
Yellowish Brown
#9B7A01
ΔE00 2.60
Hazel
#8E7618
ΔE00 3.09
Poo
#8F7303
ΔE00 3.26
Baby Poop
#937C00
ΔE00 4.35
Bronze (survey)
#A87900
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98781F #1F3F98
analogous
#983B1F #98781F #7B981F
triadic
#98781F #1F9878 #781F98
tetradic
#98781F #1F983B #1F3F98 #981F7B
square
#98781F #1F983B #1F3F98 #981F7B
split-complementary
#98781F #1F7B98 #3B1F98
monochromatic
#32280A #655015 #98781F #CBA029 #DCB955
Accessibility & contrast
On white
4.17
#98781F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#98781F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98781F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98781F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98781F | 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)
#87770D
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#A56D67
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #98781f; /* rgb */ color: rgb(152, 120, 31); /* oklch */ color: oklch(58.8% 0.109 87.7);
Tailwind
colors: {
custom: {
50: '#bb9e62',
500: '#98781f',
950: '#000000',
},
}SCSS
$custom: #98781f; $custom-light: #bb9e62; $custom-dark: #000000;
JSON
{
"hex": "#98781f",
"rgb": {
"r": 152,
"g": 120,
"b": 31
},
"hsl": {
"h": 44.132,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.58817,
"c": 0.10915,
"h": 87.7
},
"luminance": 0.20207
}Semantic roles & 50–950 ramp
primary
#98781F
secondary
#5370C0
accent
#6CE93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A