#9E731A#9E731A

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

Color values

HEX#9E731A
RGBrgb(158, 115, 26)
HSLhsl(40, 72%, 36%)
HSVhsv(40, 84%, 62%)
CMYKcmyk(0%, 27.2%, 83.5%, 38%)
CIE-LABlab(51.39, 8.99, 51.49)
CIE-LCHlch(51.39, 52.27, 80.10°)
OKLaboklab(58.42% 0.0192 0.1106)
OKLCHoklch(58.42% 0.112 80.2)
XYZxyz(20.4192, 19.6068, 3.6861)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E731A #1A459E
analogous
#9E311A #9E731A #879E1A
triadic
#9E731A #1A9E73 #731A9E
tetradic
#9E731A #1A9E31 #1A459E #9E1A87
square
#9E731A #1A9E31 #1A459E #9E1A87
split-complementary
#9E731A #1A879E #311A9E
monochromatic
#352609 #694D11 #9E731A #D39923 #E2B350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E731A#FFFFFF#000000##000000
##9E731A1.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)
#847404
Deuteranopia (green-blind)
#8E7F1E
Tritanopia (blue-blind)
#AC6762
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e731a;
/* rgb */ color: rgb(158, 115, 26);
/* oklch */ color: oklch(58.4% 0.112 80.2);
Tailwind
colors: {
  custom: {
    50: '#c09b5f',
    500: '#9e731a',
    950: '#000000',
  },
}
SCSS
$custom: #9e731a;
$custom-light: #c09b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e731a",
  "rgb": {
    "r": 158,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 40.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58424,
    "c": 0.11226,
    "h": 80.2
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#9E731A
secondary
#4F75C5
accent
#74EE39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E731A

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

Preview Lab → · Contrast checker → · Palette generator →

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