#9E7815#9E7815

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

Color values

HEX#9E7815
RGBrgb(158, 120, 21)
HSLhsl(43, 77%, 35%)
HSVhsv(43, 87%, 62%)
CMYKcmyk(0%, 24.1%, 86.7%, 38%)
CIE-LABlab(52.68, 6.00, 54.15)
CIE-LCHlch(52.68, 54.49, 83.68°)
OKLaboklab(59.43% 0.0102 0.1153)
OKLCHoklch(59.43% 0.116 85)
XYZxyz(20.9538, 20.7578, 3.6124)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7815 #153B9E
analogous
#9E3415 #9E7815 #7F9E15
triadic
#9E7815 #159E78 #78159E
tetradic
#9E7815 #159E34 #153B9E #9E157F
square
#9E7815 #159E34 #153B9E #9E157F
split-complementary
#9E7815 #157F9E #34159E
monochromatic
#322607 #684F0E #9E7815 #D4A11C #E7BA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E7815#FFFFFF#000000##000000
##9E78151.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)
#897800
Deuteranopia (green-blind)
#92821C
Tritanopia (blue-blind)
#AC6C66
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e7815;
/* rgb */ color: rgb(158, 120, 21);
/* oklch */ color: oklch(59.4% 0.116 85.0);
Tailwind
colors: {
  custom: {
    50: '#c09e5e',
    500: '#9e7815',
    950: '#000000',
  },
}
SCSS
$custom: #9e7815;
$custom-light: #c09e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7815",
  "rgb": {
    "r": 158,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 43.358,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.11574,
    "h": 85
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#9E7815
secondary
#476BC7
accent
#6AF335
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E7815

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

Preview Lab → · Contrast checker → · Palette generator →

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