#9E771B#9E771B

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

Color values

HEX#9E771B
RGBrgb(158, 119, 27)
HSLhsl(42, 71%, 36%)
HSVhsv(42, 83%, 62%)
CMYKcmyk(0%, 24.7%, 82.9%, 38%)
CIE-LABlab(52.45, 6.75, 52.08)
CIE-LCHlch(52.45, 52.51, 82.62°)
OKLaboklab(59.25% 0.0129 0.1121)
OKLCHoklch(59.25% 0.113 83.5)
XYZxyz(20.8966, 20.5435, 3.9014)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E771B #1B429E
analogous
#9E351B #9E771B #849E1B
triadic
#9E771B #1B9E77 #771B9E
tetradic
#9E771B #1B9E35 #1B429E #9E1B84
square
#9E771B #1B9E35 #1B429E #9E1B84
split-complementary
#9E771B #1B849E #351B9E
monochromatic
#352809 #6A5012 #9E771B #D29E24 #E1B752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E771B#FFFFFF#000000##000000
##9E771B1.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)
#877704
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#AC6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e771b;
/* rgb */ color: rgb(158, 119, 27);
/* oklch */ color: oklch(59.3% 0.113 83.5);
Tailwind
colors: {
  custom: {
    50: '#bf9d60',
    500: '#9e771b',
    950: '#000000',
  },
}
SCSS
$custom: #9e771b;
$custom-light: #bf9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9e771b",
  "rgb": {
    "r": 158,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 42.137,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.11286,
    "h": 83.5
  },
  "luminance": 0.20542
}

Semantic roles & 50–950 ramp

primary
#9E771B
secondary
#5173C4
accent
#70EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E771B

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

Preview Lab → · Contrast checker → · Palette generator →

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