#9E771F#9E771F

#9E771F is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.3% C 0.111 H 82.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9E771F
RGBrgb(158, 119, 31)
HSLhsl(42, 67%, 37%)
HSVhsv(42, 80%, 62%)
CMYKcmyk(0%, 24.7%, 80.4%, 38%)
CIE-LABlab(52.47, 6.89, 50.68)
CIE-LCHlch(52.47, 51.14, 82.26°)
OKLaboklab(59.28% 0.0137 0.11)
OKLCHoklch(59.28% 0.111 82.9)
XYZxyz(20.9461, 20.5633, 4.1620)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E771F #1F469E
analogous
#9E381F #9E771F #869E1F
triadic
#9E771F #1F9E77 #771F9E
tetradic
#9E771F #1F9E38 #1F469E #9E1F86
square
#9E771F #1F9E38 #1F469E #9E1F86
split-complementary
#9E771F #1F869E #381F9E
monochromatic
#382A0B #6B5015 #9E771F #D19E29 #DEB559

Accessibility & contrast

On white

4.11
#9E771F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9E771F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E771F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E771F#FFFFFF#000000##000000
##9E771F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#918123
Tritanopia (blue-blind)
#AC6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e771f;
/* rgb */ color: rgb(158, 119, 31);
/* oklch */ color: oklch(59.3% 0.111 82.9);
Tailwind
colors: {
  custom: {
    50: '#bf9d62',
    500: '#9e771f',
    950: '#000000',
  },
}
SCSS
$custom: #9e771f;
$custom-light: #bf9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e771f",
  "rgb": {
    "r": 158,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 41.575,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.11088,
    "h": 82.9
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

primary
#9E771F
secondary
#5678C2
accent
#73EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9E771F

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

Preview Lab → · Contrast checker → · Palette generator →

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