#9F771A#9F771A

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

Color values

HEX#9F771A
RGBrgb(159, 119, 26)
HSLhsl(42, 72%, 36%)
HSVhsv(42, 84%, 62%)
CMYKcmyk(0%, 25.2%, 83.6%, 37.6%)
CIE-LABlab(52.55, 7.18, 52.55)
CIE-LCHlch(52.55, 53.04, 82.22°)
OKLaboklab(59.36% 0.0139 0.1129)
OKLCHoklch(59.36% 0.114 83)
XYZxyz(21.0828, 20.6408, 3.8508)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F771A #1A429F
analogous
#9F351A #9F771A #859F1A
triadic
#9F771A #1A9F77 #771A9F
tetradic
#9F771A #1A9F35 #1A429F #9F1A85
square
#9F771A #1A9F35 #1A429F #9F1A85
split-complementary
#9F771A #1A859F #351A9F
monochromatic
#362809 #6A5011 #9F771A #D49E23 #E3B751

Accessibility & contrast

On white

4.10
#9F771A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F771A#FFFFFF#000000##000000
##9F771A1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887702
Deuteranopia (green-blind)
#91821F
Tritanopia (blue-blind)
#AD6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f771a;
/* rgb */ color: rgb(159, 119, 26);
/* oklch */ color: oklch(59.4% 0.114 83.0);
Tailwind
colors: {
  custom: {
    50: '#c09d60',
    500: '#9f771a',
    950: '#000000',
  },
}
SCSS
$custom: #9f771a;
$custom-light: #c09d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9f771a",
  "rgb": {
    "r": 159,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 41.955,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.11371,
    "h": 83
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#9F771A
secondary
#5073C5
accent
#70EF39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F771A

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

Preview Lab → · Contrast checker → · Palette generator →

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