#9F771F#9F771F

#9F771F is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.111 H 82.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9F771F
RGBrgb(159, 119, 31)
HSLhsl(41, 67%, 37%)
HSVhsv(41, 81%, 62%)
CMYKcmyk(0%, 25.2%, 80.5%, 37.6%)
CIE-LABlab(52.58, 7.35, 50.82)
CIE-LCHlch(52.58, 51.35, 81.77°)
OKLaboklab(59.39% 0.015 0.1103)
OKLCHoklch(59.39% 0.111 82.3)
XYZxyz(21.1437, 20.6651, 4.1712)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F771F #1F479F
analogous
#9F371F #9F771F #879F1F
triadic
#9F771F #1F9F77 #771F9F
tetradic
#9F771F #1F9F37 #1F479F #9F1F87
square
#9F771F #1F9F37 #1F479F #9F1F87
split-complementary
#9F771F #1F879F #371F9F
monochromatic
#392A0B #6C5115 #9F771F #D29D29 #DFB55A

Accessibility & contrast

On white

4.09
#9F771F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9F771F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F771F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F771F#FFFFFF#000000##000000
##9F771F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#918223
Tritanopia (blue-blind)
#AD6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f771f;
/* rgb */ color: rgb(159, 119, 31);
/* oklch */ color: oklch(59.4% 0.111 82.3);
Tailwind
colors: {
  custom: {
    50: '#c09e62',
    500: '#9f771f',
    950: '#000000',
  },
}
SCSS
$custom: #9f771f;
$custom-light: #c09e62;
$custom-dark: #000000;
JSON
{
  "hex": "#9f771f",
  "rgb": {
    "r": 159,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 41.25,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.1113,
    "h": 82.3
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#9F771F
secondary
#5779C3
accent
#74EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F771F

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

Preview Lab → · Contrast checker → · Palette generator →

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