#9F731B#9F731B

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

Color values

HEX#9F731B
RGBrgb(159, 115, 27)
HSLhsl(40, 71%, 36%)
HSVhsv(40, 83%, 62%)
CMYKcmyk(0%, 27.7%, 83%, 37.6%)
CIE-LABlab(51.51, 9.48, 51.30)
CIE-LCHlch(51.51, 52.17, 79.53°)
OKLaboklab(58.55% 0.0207 0.1104)
OKLCHoklch(58.55% 0.112 79.4)
XYZxyz(20.6281, 19.7132, 3.7553)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F731B #1B479F
analogous
#9F311B #9F731B #899F1B
triadic
#9F731B #1B9F73 #731B9F
tetradic
#9F731B #1B9F31 #1B479F #9F1B89
square
#9F731B #1B9F31 #1B479F #9F1B89
split-complementary
#9F731B #1B899F #311B9F
monochromatic
#362709 #6B4D12 #9F731B #D39924 #E2B253

Accessibility & contrast

On white

4.25
#9F731B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9F731B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F731B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F731B#FFFFFF#000000##000000
##9F731B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847406
Deuteranopia (green-blind)
#8E7F1F
Tritanopia (blue-blind)
#AD6663
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f731b;
/* rgb */ color: rgb(159, 115, 27);
/* oklch */ color: oklch(58.5% 0.112 79.4);
Tailwind
colors: {
  custom: {
    50: '#c09b60',
    500: '#9f731b',
    950: '#000000',
  },
}
SCSS
$custom: #9f731b;
$custom-light: #c09b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9f731b",
  "rgb": {
    "r": 159,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 40,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58547,
    "c": 0.11228,
    "h": 79.4
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#9F731B
secondary
#5178C5
accent
#76EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F731B

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

Preview Lab → · Contrast checker → · Palette generator →

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