#9F731C#9F731C

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

Color values

HEX#9F731C
RGBrgb(159, 115, 28)
HSLhsl(40, 70%, 37%)
HSVhsv(40, 82%, 62%)
CMYKcmyk(0%, 27.7%, 82.4%, 37.6%)
CIE-LABlab(51.52, 9.51, 50.95)
CIE-LCHlch(51.52, 51.83, 79.42°)
OKLaboklab(58.55% 0.0209 0.1099)
OKLCHoklch(58.55% 0.112 79.2)
XYZxyz(20.6399, 19.7179, 3.8173)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F731C #1C489F
analogous
#9F321C #9F731C #8A9F1C
triadic
#9F731C #1C9F73 #731C9F
tetradic
#9F731C #1C9F32 #1C489F #9F1C8A
square
#9F731C #1C9F32 #1C489F #9F1C8A
split-complementary
#9F731C #1C8A9F #321C9F
monochromatic
#37280A #6B4D13 #9F731C #D39925 #E1B254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F731C#FFFFFF#000000##000000
##9F731C1.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)
#847409
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#AD6663
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f731c;
/* rgb */ color: rgb(159, 115, 28);
/* oklch */ color: oklch(58.6% 0.112 79.2);
Tailwind
colors: {
  custom: {
    50: '#c09b60',
    500: '#9f731c',
    950: '#000000',
  },
}
SCSS
$custom: #9f731c;
$custom-light: #c09b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9f731c",
  "rgb": {
    "r": 159,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 39.847,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.11181,
    "h": 79.2
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#9F731C
secondary
#5379C4
accent
#77ED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F731C

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

Preview Lab → · Contrast checker → · Palette generator →

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