#9E791C#9E791C

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

Color values

HEX#9E791C
RGBrgb(158, 121, 28)
HSLhsl(43, 70%, 36%)
HSVhsv(43, 82%, 62%)
CMYKcmyk(0%, 23.4%, 82.3%, 38%)
CIE-LABlab(52.98, 5.65, 52.21)
CIE-LCHlch(52.98, 52.51, 83.82°)
OKLaboklab(59.68% 0.0098 0.1126)
OKLCHoklch(59.68% 0.113 85)
XYZxyz(21.1489, 21.0292, 4.0435)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E791C #1C419E
analogous
#9E381C #9E791C #829E1C
triadic
#9E791C #1C9E79 #791C9E
tetradic
#9E791C #1C9E38 #1C419E #9E1C82
square
#9E791C #1C9E38 #1C419E #9E1C82
split-complementary
#9E791C #1C829E #381C9E
monochromatic
#36290A #6A5113 #9E791C #D2A125 #E1B954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E791C#FFFFFF#000000##000000
##9E791C1.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)
#897906
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#AC6D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e791c;
/* rgb */ color: rgb(158, 121, 28);
/* oklch */ color: oklch(59.7% 0.113 85.0);
Tailwind
colors: {
  custom: {
    50: '#bf9f61',
    500: '#9e791c',
    950: '#000000',
  },
}
SCSS
$custom: #9e791c;
$custom-light: #bf9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#9e791c",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 42.923,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.11307,
    "h": 85
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#9E791C
secondary
#5272C4
accent
#6EED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E791C

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

Preview Lab → · Contrast checker → · Palette generator →

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