#9D731A#9D731A

#9D731A is a mid, moderate orange. Relative luminance 0.195; OKLCH L 58.3% C 0.112 H 80.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9D731A
RGBrgb(157, 115, 26)
HSLhsl(41, 72%, 36%)
HSVhsv(41, 83%, 62%)
CMYKcmyk(0%, 26.8%, 83.4%, 38.4%)
CIE-LABlab(51.27, 8.52, 51.34)
CIE-LCHlch(51.27, 52.05, 80.57°)
OKLaboklab(58.31% 0.0179 0.1104)
OKLCHoklch(58.31% 0.112 80.8)
XYZxyz(20.2232, 19.5058, 3.6770)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D731A #1A449D
analogous
#9D311A #9D731A #859D1A
triadic
#9D731A #1A9D73 #731A9D
tetradic
#9D731A #1A9D31 #1A449D #9D1A85
square
#9D731A #1A9D31 #1A449D #9D1A85
split-complementary
#9D731A #1A859D #311A9D
monochromatic
#342609 #684D11 #9D731A #D29923 #E2B34F

Accessibility & contrast

On white

4.29
#9D731A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9D731A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D731A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D731A#FFFFFF#000000##000000
##9D731A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#8E7E1F
Tritanopia (blue-blind)
#AB6762
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d731a;
/* rgb */ color: rgb(157, 115, 26);
/* oklch */ color: oklch(58.3% 0.112 80.8);
Tailwind
colors: {
  custom: {
    50: '#bf9b5f',
    500: '#9d731a',
    950: '#000000',
  },
}
SCSS
$custom: #9d731a;
$custom-light: #bf9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d731a",
  "rgb": {
    "r": 157,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 40.763,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.1118,
    "h": 80.8
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#9D731A
secondary
#4E74C4
accent
#73EE39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9D731A

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

Preview Lab → · Contrast checker → · Palette generator →

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