#9E7A1B#9E7A1B

#9E7A1B is a mid, moderate orange. Relative luminance 0.213; OKLCH L 59.9% C 0.114 H 86.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9E7A1B
RGBrgb(158, 122, 27)
HSLhsl(44, 71%, 36%)
HSVhsv(44, 83%, 62%)
CMYKcmyk(0%, 22.8%, 82.9%, 38%)
CIE-LABlab(53.24, 5.05, 52.77)
CIE-LCHlch(53.24, 53.02, 84.53°)
OKLaboklab(59.88% 0.008 0.1136)
OKLCHoklch(59.88% 0.114 86)
XYZxyz(21.2593, 21.2688, 4.0223)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7A1B #1B3F9E
analogous
#9E381B #9E7A1B #819E1B
triadic
#9E7A1B #1B9E7A #7A1B9E
tetradic
#9E7A1B #1B9E38 #1B3F9E #9E1B81
square
#9E7A1B #1B9E38 #1B3F9E #9E1B81
split-complementary
#9E7A1B #1B819E #381B9E
monochromatic
#352909 #6A5212 #9E7A1B #D2A224 #E1BA52

Accessibility & contrast

On white

4.00
#9E7A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9E7A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7A1B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7A1B#FFFFFF#000000##000000
##9E7A1B1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A03
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#AC6E68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e7a1b;
/* rgb */ color: rgb(158, 122, 27);
/* oklch */ color: oklch(59.9% 0.114 86.0);
Tailwind
colors: {
  custom: {
    50: '#bfa061',
    500: '#9e7a1b',
    950: '#000000',
  },
}
SCSS
$custom: #9e7a1b;
$custom-light: #bfa061;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7a1b",
  "rgb": {
    "r": 158,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 43.511,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.11392,
    "h": 86
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#9E7A1B
secondary
#5170C4
accent
#6CEE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E7A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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