#9E7817#9E7817

#9E7817 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.115 H 84.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9E7817
RGBrgb(158, 120, 23)
HSLhsl(43, 75%, 35%)
HSVhsv(43, 85%, 62%)
CMYKcmyk(0%, 24.1%, 85.4%, 38%)
CIE-LABlab(52.69, 6.06, 53.57)
CIE-LCHlch(52.69, 53.91, 83.55°)
OKLaboklab(59.44% 0.0105 0.1145)
OKLCHoklch(59.44% 0.115 84.8)
XYZxyz(20.9731, 20.7655, 3.7140)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7817 #173D9E
analogous
#9E3417 #9E7817 #809E17
triadic
#9E7817 #179E78 #78179E
tetradic
#9E7817 #179E34 #173D9E #9E1780
square
#9E7817 #179E34 #173D9E #9E1780
split-complementary
#9E7817 #17809E #34179E
monochromatic
#332707 #694F0F #9E7817 #D3A11F #E5B94B

Accessibility & contrast

On white

4.08
#9E7817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9E7817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7817
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7817#FFFFFF#000000##000000
##9E78171.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#91821D
Tritanopia (blue-blind)
#AC6C66
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e7817;
/* rgb */ color: rgb(158, 120, 23);
/* oklch */ color: oklch(59.4% 0.115 84.8);
Tailwind
colors: {
  custom: {
    50: '#bf9e5f',
    500: '#9e7817',
    950: '#000000',
  },
}
SCSS
$custom: #9e7817;
$custom-light: #bf9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7817",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 43.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59441,
    "c": 0.11494,
    "h": 84.8
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#9E7817
secondary
#4A6DC6
accent
#6BF137
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E7817

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

Preview Lab → · Contrast checker → · Palette generator →

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