#9D731C#9D731C

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

Color values

HEX#9D731C
RGBrgb(157, 115, 28)
HSLhsl(40, 70%, 36%)
HSVhsv(40, 82%, 62%)
CMYKcmyk(0%, 26.8%, 82.2%, 38.4%)
CIE-LABlab(51.28, 8.59, 50.66)
CIE-LCHlch(51.28, 51.38, 80.37°)
OKLaboklab(58.32% 0.0183 0.1093)
OKLCHoklch(58.32% 0.111 80.5)
XYZxyz(20.2464, 19.5150, 3.7988)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D731C #1C469D
analogous
#9D331C #9D731C #879D1C
triadic
#9D731C #1C9D73 #731C9D
tetradic
#9D731C #1C9D33 #1C469D #9D1C87
square
#9D731C #1C9D33 #1C469D #9D1C87
split-complementary
#9D731C #1C879D #331C9D
monochromatic
#352709 #694D13 #9D731C #D19925 #E0B253

Accessibility & contrast

On white

4.28
#9D731C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D731C#FFFFFF#000000##000000
##9D731C1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847409
Deuteranopia (green-blind)
#8E7E20
Tritanopia (blue-blind)
#AB6763
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d731c;
/* rgb */ color: rgb(157, 115, 28);
/* oklch */ color: oklch(58.3% 0.111 80.5);
Tailwind
colors: {
  custom: {
    50: '#bf9b60',
    500: '#9d731c',
    950: '#000000',
  },
}
SCSS
$custom: #9d731c;
$custom-light: #bf9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9d731c",
  "rgb": {
    "r": 157,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 40.465,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.11086,
    "h": 80.5
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#9D731C
secondary
#5177C3
accent
#75ED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9D731C

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

Preview Lab → · Contrast checker → · Palette generator →

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