#98791F#98791F
#98791F is a mid, moderate orange. Relative luminance 0.204; OKLCH L 59.0% C 0.110 H 88.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #98791F |
|---|---|
| RGB | rgb(152, 121, 31) |
| HSL | hsl(45, 66%, 36%) |
| HSV | hsv(45, 80%, 60%) |
| CMYK | cmyk(0%, 20.4%, 79.6%, 40.4%) |
| CIE-LAB | lab(52.34, 2.99, 50.32) |
| CIE-LCH | lch(52.34, 50.41, 86.60°) |
| OKLab | oklab(59.03% 0.0028 0.1096) |
| OKLCH | oklch(59.03% 0.11 88.5) |
| XYZ | xyz(20.0348, 20.4504, 4.1881) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Puke Brown
#947706
ΔE00 2.25
Yellowish Brown
#9B7A01
ΔE00 2.40
Hazel
#8E7618
ΔE00 2.93
Poo
#8F7303
ΔE00 3.27
Baby Poop
#937C00
ΔE00 3.95
Diarrhea
#9F8303
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98791F #1F3E98
analogous
#983C1F #98791F #7A981F
triadic
#98791F #1F9879 #791F98
tetradic
#98791F #1F983C #1F3E98 #981F7A
square
#98791F #1F983C #1F3E98 #981F7A
split-complementary
#98791F #1F7A98 #3C1F98
monochromatic
#32280A #655115 #98791F #CBA129 #DCBA55
Accessibility & contrast
On white
4.13
#98791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#98791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98791F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98791F | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#A56E68
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #98791f; /* rgb */ color: rgb(152, 121, 31); /* oklch */ color: oklch(59.0% 0.110 88.5);
Tailwind
colors: {
custom: {
50: '#ba9f62',
500: '#98791f',
950: '#000000',
},
}SCSS
$custom: #98791f; $custom-light: #ba9f62; $custom-dark: #000000;
JSON
{
"hex": "#98791f",
"rgb": {
"r": 152,
"g": 121,
"b": 31
},
"hsl": {
"h": 44.628,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.5903,
"c": 0.10963,
"h": 88.5
},
"luminance": 0.20449
}Semantic roles & 50–950 ramp
primary
#98791F
secondary
#536FC0
accent
#6AE93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A