#9E791D#9E791D

#9E791D is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.7% C 0.113 H 84.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9E791D
RGBrgb(158, 121, 29)
HSLhsl(43, 69%, 37%)
HSVhsv(43, 82%, 62%)
CMYKcmyk(0%, 23.4%, 81.6%, 38%)
CIE-LABlab(52.99, 5.69, 51.87)
CIE-LCHlch(52.99, 52.18, 83.74°)
OKLaboklab(59.68% 0.01 0.1121)
OKLCHoklch(59.68% 0.113 84.9)
XYZxyz(21.1611, 21.0341, 4.1076)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E791D #1D429E
analogous
#9E391D #9E791D #839E1D
triadic
#9E791D #1D9E79 #791D9E
tetradic
#9E791D #1D9E39 #1D429E #9E1D83
square
#9E791D #1D9E39 #1D429E #9E1D83
split-complementary
#9E791D #1D839E #391D9E
monochromatic
#372A0A #6A5114 #9E791D #D2A126 #E0B856

Accessibility & contrast

On white

4.03
#9E791D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9E791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E791D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E791D#FFFFFF#000000##000000
##9E791D1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897908
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#AC6D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e791d;
/* rgb */ color: rgb(158, 121, 29);
/* oklch */ color: oklch(59.7% 0.113 84.9);
Tailwind
colors: {
  custom: {
    50: '#bf9f62',
    500: '#9e791d',
    950: '#000000',
  },
}
SCSS
$custom: #9e791d;
$custom-light: #bf9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e791d",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 42.791,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59682,
    "c": 0.11258,
    "h": 84.9
  },
  "luminance": 0.21033
}

Semantic roles & 50–950 ramp

primary
#9E791D
secondary
#5474C3
accent
#6EEC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E791D

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

Preview Lab → · Contrast checker → · Palette generator →

#9E791D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva