#9F771B#9F771B

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

Color values

HEX#9F771B
RGBrgb(159, 119, 27)
HSLhsl(42, 71%, 36%)
HSVhsv(42, 83%, 62%)
CMYKcmyk(0%, 25.2%, 83%, 37.6%)
CIE-LABlab(52.56, 7.21, 52.22)
CIE-LCHlch(52.56, 52.71, 82.14°)
OKLaboklab(59.37% 0.0141 0.1124)
OKLCHoklch(59.37% 0.113 82.8)
XYZxyz(21.0942, 20.6453, 3.9107)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F771B #1B439F
analogous
#9F351B #9F771B #859F1B
triadic
#9F771B #1B9F77 #771B9F
tetradic
#9F771B #1B9F35 #1B439F #9F1B85
square
#9F771B #1B9F35 #1B439F #9F1B85
split-complementary
#9F771B #1B859F #351B9F
monochromatic
#362909 #6B5012 #9F771B #D39E24 #E2B653

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F771B#FFFFFF#000000##000000
##9F771B1.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)
#887704
Deuteranopia (green-blind)
#918220
Tritanopia (blue-blind)
#AD6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f771b;
/* rgb */ color: rgb(159, 119, 27);
/* oklch */ color: oklch(59.4% 0.113 82.8);
Tailwind
colors: {
  custom: {
    50: '#c09d60',
    500: '#9f771b',
    950: '#000000',
  },
}
SCSS
$custom: #9f771b;
$custom-light: #c09d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9f771b",
  "rgb": {
    "r": 159,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 41.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.11325,
    "h": 82.8
  },
  "luminance": 0.20644
}

Semantic roles & 50–950 ramp

primary
#9F771B
secondary
#5174C5
accent
#71EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F771B

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

Preview Lab → · Contrast checker → · Palette generator →

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