#9E771A#9E771A

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

Color values

HEX#9E771A
RGBrgb(158, 119, 26)
HSLhsl(42, 72%, 36%)
HSVhsv(42, 84%, 62%)
CMYKcmyk(0%, 24.7%, 83.5%, 38%)
CIE-LABlab(52.44, 6.72, 52.41)
CIE-LCHlch(52.44, 52.83, 82.70°)
OKLaboklab(59.25% 0.0127 0.1126)
OKLCHoklch(59.25% 0.113 83.6)
XYZxyz(20.8853, 20.5389, 3.8415)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E771A #1A419E
analogous
#9E351A #9E771A #839E1A
triadic
#9E771A #1A9E77 #771A9E
tetradic
#9E771A #1A9E35 #1A419E #9E1A83
square
#9E771A #1A9E35 #1A419E #9E1A83
split-complementary
#9E771A #1A839E #351A9E
monochromatic
#352809 #694F11 #9E771A #D39F23 #E2B750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E771A#FFFFFF#000000##000000
##9E771A1.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)
#877702
Deuteranopia (green-blind)
#91811F
Tritanopia (blue-blind)
#AC6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e771a;
/* rgb */ color: rgb(158, 119, 26);
/* oklch */ color: oklch(59.2% 0.113 83.6);
Tailwind
colors: {
  custom: {
    50: '#bf9d60',
    500: '#9e771a',
    950: '#000000',
  },
}
SCSS
$custom: #9e771a;
$custom-light: #bf9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9e771a",
  "rgb": {
    "r": 158,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 42.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.11332,
    "h": 83.6
  },
  "luminance": 0.20537
}

Semantic roles & 50–950 ramp

primary
#9E771A
secondary
#4F72C5
accent
#6FEE39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E771A

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

Preview Lab → · Contrast checker → · Palette generator →

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