#98791D#98791D

#98791D is a mid, moderate orange. Relative luminance 0.204; OKLCH L 59.0% C 0.111 H 88.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#98791D
RGBrgb(152, 121, 29)
HSLhsl(45, 68%, 35%)
HSVhsv(45, 81%, 60%)
CMYKcmyk(0%, 20.4%, 80.9%, 40.4%)
CIE-LABlab(52.33, 2.91, 51.03)
CIE-LCHlch(52.33, 51.11, 86.74°)
OKLaboklab(59.02% 0.0024 0.1107)
OKLCHoklch(59.02% 0.111 88.8)
XYZxyz(20.0093, 20.4402, 4.0536)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98791D #1D3C98
analogous
#983B1D #98791D #79981D
triadic
#98791D #1D9879 #791D98
tetradic
#98791D #1D983B #1D3C98 #981D79
square
#98791D #1D983B #1D3C98 #981D79
split-complementary
#98791D #1D7998 #3B1D98
monochromatic
#312709 #655013 #98791D #CBA227 #DEBB52

Accessibility & contrast

On white

4.13
#98791D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#98791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98791D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98791D#FFFFFF#000000##000000
##98791D1.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)
#887808
Deuteranopia (green-blind)
#908023
Tritanopia (blue-blind)
#A56E68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #98791d;
/* rgb */ color: rgb(152, 121, 29);
/* oklch */ color: oklch(59.0% 0.111 88.8);
Tailwind
colors: {
  custom: {
    50: '#bb9f61',
    500: '#98791d',
    950: '#000000',
  },
}
SCSS
$custom: #98791d;
$custom-light: #bb9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#98791d",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 44.878,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.1107,
    "h": 88.8
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#98791D
secondary
#506CC1
accent
#69EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #98791D

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

Preview Lab → · Contrast checker → · Palette generator →

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