#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
RGBrgb(152, 121, 31)
HSLhsl(45, 66%, 36%)
HSVhsv(45, 80%, 60%)
CMYKcmyk(0%, 20.4%, 79.6%, 40.4%)
CIE-LABlab(52.34, 2.99, 50.32)
CIE-LCHlch(52.34, 50.41, 86.60°)
OKLaboklab(59.03% 0.0028 0.1096)
OKLCHoklch(59.03% 0.11 88.5)
XYZxyz(20.0348, 20.4504, 4.1881)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

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
##98791F1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.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

Preview Lab

Preview with #98791F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#98791F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva