#9F701F#9F701F

#9F701F is a mid, moderate orange. Relative luminance 0.191; OKLCH L 58.0% C 0.110 H 76.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9F701F
RGBrgb(159, 112, 31)
HSLhsl(38, 67%, 37%)
HSVhsv(38, 81%, 62%)
CMYKcmyk(0%, 29.6%, 80.5%, 37.6%)
CIE-LABlab(50.76, 11.33, 49.15)
CIE-LCHlch(50.76, 50.44, 77.02°)
OKLaboklab(57.97% 0.0265 0.1067)
OKLCHoklch(57.97% 0.11 76.1)
XYZxyz(20.3411, 19.0599, 3.9037)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F701F #1F4E9F
analogous
#9F301F #9F701F #8E9F1F
triadic
#9F701F #1F9F70 #701F9F
tetradic
#9F701F #1F9F30 #1F4E9F #9F1F8E
square
#9F701F #1F9F30 #1F4E9F #9F1F8E
split-complementary
#9F701F #1F8E9F #301F9F
monochromatic
#39280B #6C4C15 #9F701F #D29429 #DFAE5A

Accessibility & contrast

On white

4.36
#9F701F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9F701F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F701F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F701F#FFFFFF#000000##000000
##9F701F1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#AD6360
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f701f;
/* rgb */ color: rgb(159, 112, 31);
/* oklch */ color: oklch(58.0% 0.110 76.1);
Tailwind
colors: {
  custom: {
    50: '#c09862',
    500: '#9f701f',
    950: '#000000',
  },
}
SCSS
$custom: #9f701f;
$custom-light: #c09862;
$custom-dark: #000000;
JSON
{
  "hex": "#9f701f",
  "rgb": {
    "r": 159,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 37.969,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.10991,
    "h": 76.1
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#9F701F
secondary
#577FC3
accent
#7DEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130D05
muted
#827E7A

Preview Lab

Preview with #9F701F

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

Preview Lab → · Contrast checker → · Palette generator →

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