#9E7B1B#9E7B1B

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

Color values

HEX#9E7B1B
RGBrgb(158, 123, 27)
HSLhsl(44, 71%, 36%)
HSVhsv(44, 83%, 62%)
CMYKcmyk(0%, 22.2%, 82.9%, 38%)
CIE-LABlab(53.51, 4.49, 53.01)
CIE-LCHlch(53.51, 53.20, 85.16°)
OKLaboklab(60.09% 0.0064 0.1142)
OKLCHoklch(60.09% 0.114 86.8)
XYZxyz(21.3827, 21.5157, 4.0634)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7B1B #1B3E9E
analogous
#9E391B #9E7B1B #809E1B
triadic
#9E7B1B #1B9E7B #7B1B9E
tetradic
#9E7B1B #1B9E39 #1B3E9E #9E1B80
square
#9E7B1B #1B9E39 #1B3E9E #9E1B80
split-complementary
#9E7B1B #1B809E #391B9E
monochromatic
#352A09 #6A5212 #9E7B1B #D2A424 #E1BB52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E7B1B#FFFFFF#000000##000000
##9E7B1B1.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)
#8B7A02
Deuteranopia (green-blind)
#938421
Tritanopia (blue-blind)
#AC6F69
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e7b1b;
/* rgb */ color: rgb(158, 123, 27);
/* oklch */ color: oklch(60.1% 0.114 86.8);
Tailwind
colors: {
  custom: {
    50: '#bfa061',
    500: '#9e7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #9e7b1b;
$custom-light: #bfa061;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7b1b",
  "rgb": {
    "r": 158,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 43.969,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.11433,
    "h": 86.8
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

primary
#9E7B1B
secondary
#516FC4
accent
#6AEE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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