#9E6917#9E6917

#9E6917 is a mid, moderate orange. Relative luminance 0.174; OKLCH L 56.4% C 0.113 H 71.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9E6917
RGBrgb(158, 105, 23)
HSLhsl(36, 75%, 35%)
HSVhsv(36, 85%, 62%)
CMYKcmyk(0%, 33.5%, 85.4%, 38%)
CIE-LABlab(48.80, 14.60, 50.28)
CIE-LCHlch(48.80, 52.35, 73.81°)
OKLaboklab(56.4% 0.0351 0.1072)
OKLCHoklch(56.4% 0.113 71.9)
XYZxyz(19.3083, 17.4359, 3.1590)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6917 #174C9E
analogous
#9E2517 #9E6917 #909E17
triadic
#9E6917 #179E69 #69179E
tetradic
#9E6917 #179E25 #174C9E #9E1790
square
#9E6917 #179E25 #174C9E #9E1790
split-complementary
#9E6917 #17909E #25179E
monochromatic
#332207 #69450F #9E6917 #D38D1F #E5A84B

Accessibility & contrast

On white

4.68
#9E6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9E6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E6917
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6917#FFFFFF#000000##FFFFFF
##9E69171.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#88791A
Tritanopia (blue-blind)
#AD5C5A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e6917;
/* rgb */ color: rgb(158, 105, 23);
/* oklch */ color: oklch(56.4% 0.113 71.9);
Tailwind
colors: {
  custom: {
    50: '#c0935d',
    500: '#9e6917',
    950: '#000000',
  },
}
SCSS
$custom: #9e6917;
$custom-light: #c0935d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6917",
  "rgb": {
    "r": 158,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 36.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.11279,
    "h": 71.9
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#9E6917
secondary
#4A7BC6
accent
#80F137
background
#FCF9F5
surface
#F8F1E9
border
#D1CBC5
text
#130D04
muted
#827E79

Preview Lab

Preview with #9E6917

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

Preview Lab → · Contrast checker → · Palette generator →

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