#9E731B#9E731B

#9E731B is a mid, moderate orange. Relative luminance 0.196; OKLCH L 58.4% C 0.112 H 80.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9E731B
RGBrgb(158, 115, 27)
HSLhsl(40, 71%, 36%)
HSVhsv(40, 83%, 62%)
CMYKcmyk(0%, 27.2%, 82.9%, 38%)
CIE-LABlab(51.39, 9.02, 51.15)
CIE-LCHlch(51.39, 51.94, 80.00°)
OKLaboklab(58.43% 0.0194 0.1101)
OKLCHoklch(58.43% 0.112 80)
XYZxyz(20.4306, 19.6113, 3.7460)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E731B #1B469E
analogous
#9E311B #9E731B #889E1B
triadic
#9E731B #1B9E73 #731B9E
tetradic
#9E731B #1B9E31 #1B469E #9E1B88
square
#9E731B #1B9E31 #1B469E #9E1B88
split-complementary
#9E731B #1B889E #311B9E
monochromatic
#352709 #6A4D12 #9E731B #D29924 #E1B252

Accessibility & contrast

On white

4.27
#9E731B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9E731B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E731B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E731B#FFFFFF#000000##000000
##9E731B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847406
Deuteranopia (green-blind)
#8E7F1F
Tritanopia (blue-blind)
#AC6763
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e731b;
/* rgb */ color: rgb(158, 115, 27);
/* oklch */ color: oklch(58.4% 0.112 80.0);
Tailwind
colors: {
  custom: {
    50: '#c09b60',
    500: '#9e731b',
    950: '#000000',
  },
}
SCSS
$custom: #9e731b;
$custom-light: #c09b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9e731b",
  "rgb": {
    "r": 158,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 40.305,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.1118,
    "h": 80
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#9E731B
secondary
#5177C4
accent
#75EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E731B

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

Preview Lab → · Contrast checker → · Palette generator →

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