#9E7B15#9E7B15

#9E7B15 is a mid, moderate orange. Relative luminance 0.215; OKLCH L 60.1% C 0.117 H 87.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9E7B15
RGBrgb(158, 123, 21)
HSLhsl(45, 77%, 35%)
HSVhsv(45, 87%, 62%)
CMYKcmyk(0%, 22.2%, 86.7%, 38%)
CIE-LABlab(53.48, 4.31, 54.82)
CIE-LCHlch(53.48, 54.99, 85.51°)
OKLaboklab(60.06% 0.0053 0.1168)
OKLCHoklch(60.06% 0.117 87.4)
XYZxyz(21.3203, 21.4907, 3.7345)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7B15 #15389E
analogous
#9E3715 #9E7B15 #7C9E15
triadic
#9E7B15 #159E7B #7B159E
tetradic
#9E7B15 #159E37 #15389E #9E157C
square
#9E7B15 #159E37 #15389E #9E157C
split-complementary
#9E7B15 #157C9E #37159E
monochromatic
#322707 #68510E #9E7B15 #D4A51C #E7BE47

Accessibility & contrast

On white

3.96
#9E7B15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9E7B15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7B15
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7B15#FFFFFF#000000##000000
##9E7B151.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#94841C
Tritanopia (blue-blind)
#AC6F69
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e7b15;
/* rgb */ color: rgb(158, 123, 21);
/* oklch */ color: oklch(60.1% 0.117 87.4);
Tailwind
colors: {
  custom: {
    50: '#bfa05e',
    500: '#9e7b15',
    950: '#000000',
  },
}
SCSS
$custom: #9e7b15;
$custom-light: #bfa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7b15",
  "rgb": {
    "r": 158,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 44.672,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6006,
    "c": 0.11688,
    "h": 87.4
  },
  "luminance": 0.21489
}

Semantic roles & 50–950 ramp

primary
#9E7B15
secondary
#4768C7
accent
#65F335
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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