#9E731F#9E731F

#9E731F is a mid, moderate orange. Relative luminance 0.196; OKLCH L 58.5% C 0.110 H 79.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9E731F
RGBrgb(158, 115, 31)
HSLhsl(40, 67%, 37%)
HSVhsv(40, 80%, 62%)
CMYKcmyk(0%, 27.2%, 80.4%, 38%)
CIE-LABlab(51.42, 9.16, 49.71)
CIE-LCHlch(51.42, 50.55, 79.56°)
OKLaboklab(58.46% 0.0203 0.108)
OKLCHoklch(58.46% 0.11 79.4)
XYZxyz(20.4800, 19.6311, 4.0066)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E731F #1F4A9E
analogous
#9E341F #9E731F #8A9E1F
triadic
#9E731F #1F9E73 #731F9E
tetradic
#9E731F #1F9E34 #1F4A9E #9E1F8A
square
#9E731F #1F9E34 #1F4A9E #9E1F8A
split-complementary
#9E731F #1F8A9E #341F9E
monochromatic
#38290B #6B4E15 #9E731F #D19829 #DEB159

Accessibility & contrast

On white

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

On black

4.93
#9E731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E731F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E731F#FFFFFF#000000##000000
##9E731F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e731f;
/* rgb */ color: rgb(158, 115, 31);
/* oklch */ color: oklch(58.5% 0.110 79.4);
Tailwind
colors: {
  custom: {
    50: '#bf9b62',
    500: '#9e731f',
    950: '#000000',
  },
}
SCSS
$custom: #9e731f;
$custom-light: #bf9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e731f",
  "rgb": {
    "r": 158,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 39.685,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58455,
    "c": 0.10984,
    "h": 79.4
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#9E731F
secondary
#567BC2
accent
#78EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E731F

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

Preview Lab → · Contrast checker → · Palette generator →

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