#9E7B16#9E7B16

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

Color values

HEX#9E7B16
RGBrgb(158, 123, 22)
HSLhsl(45, 76%, 35%)
HSVhsv(45, 86%, 62%)
CMYKcmyk(0%, 22.2%, 86.1%, 38%)
CIE-LABlab(53.49, 4.33, 54.54)
CIE-LCHlch(53.49, 54.71, 85.46°)
OKLaboklab(60.06% 0.0055 0.1164)
OKLCHoklch(60.06% 0.116 87.3)
XYZxyz(21.3297, 21.4945, 3.7843)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7B16 #16399E
analogous
#9E3716 #9E7B16 #7D9E16
triadic
#9E7B16 #169E7B #7B169E
tetradic
#9E7B16 #169E37 #16399E #9E167D
square
#9E7B16 #169E37 #16399E #9E167D
split-complementary
#9E7B16 #167D9E #37169E
monochromatic
#332707 #68510F #9E7B16 #D4A51D #E6BD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E7B16#FFFFFF#000000##000000
##9E7B161.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)
#94841D
Tritanopia (blue-blind)
#AC6F69
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e7b16;
/* rgb */ color: rgb(158, 123, 22);
/* oklch */ color: oklch(60.1% 0.116 87.3);
Tailwind
colors: {
  custom: {
    50: '#bfa05f',
    500: '#9e7b16',
    950: '#000000',
  },
}
SCSS
$custom: #9e7b16;
$custom-light: #bfa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7b16",
  "rgb": {
    "r": 158,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 44.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.11649,
    "h": 87.3
  },
  "luminance": 0.21493
}

Semantic roles & 50–950 ramp

primary
#9E7B16
secondary
#4969C7
accent
#66F236
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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