#9E731D#9E731D

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

Color values

HEX#9E731D
RGBrgb(158, 115, 29)
HSLhsl(40, 69%, 37%)
HSVhsv(40, 82%, 62%)
CMYKcmyk(0%, 27.2%, 81.6%, 38%)
CIE-LABlab(51.41, 9.09, 50.45)
CIE-LCHlch(51.41, 51.26, 79.79°)
OKLaboklab(58.44% 0.0198 0.1091)
OKLCHoklch(58.44% 0.111 79.7)
XYZxyz(20.4545, 19.6209, 3.8721)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E731D #1D489E
analogous
#9E331D #9E731D #899E1D
triadic
#9E731D #1D9E73 #731D9E
tetradic
#9E731D #1D9E33 #1D489E #9E1D89
square
#9E731D #1D9E33 #1D489E #9E1D89
split-complementary
#9E731D #1D899E #331D9E
monochromatic
#37280A #6A4D14 #9E731D #D29926 #E0B256

Accessibility & contrast

On white

4.26
#9E731D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E731D#FFFFFF#000000##000000
##9E731D1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740B
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#AC6763
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e731d;
/* rgb */ color: rgb(158, 115, 29);
/* oklch */ color: oklch(58.4% 0.111 79.7);
Tailwind
colors: {
  custom: {
    50: '#bf9b61',
    500: '#9e731d',
    950: '#000000',
  },
}
SCSS
$custom: #9e731d;
$custom-light: #bf9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#9e731d",
  "rgb": {
    "r": 158,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 40,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58442,
    "c": 0.11084,
    "h": 79.7
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#9E731D
secondary
#5479C3
accent
#77EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E731D

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

Preview Lab → · Contrast checker → · Palette generator →

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