#9D771A#9D771A

#9D771A is a mid, moderate orange. Relative luminance 0.204; OKLCH L 59.1% C 0.113 H 84.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9D771A
RGBrgb(157, 119, 26)
HSLhsl(43, 72%, 36%)
HSVhsv(43, 83%, 62%)
CMYKcmyk(0%, 24.2%, 83.4%, 38.4%)
CIE-LABlab(52.33, 6.25, 52.26)
CIE-LCHlch(52.33, 52.64, 83.18°)
OKLaboklab(59.14% 0.0114 0.1124)
OKLCHoklch(59.14% 0.113 84.2)
XYZxyz(20.6893, 20.4379, 3.8323)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D771A #1A409D
analogous
#9D351A #9D771A #819D1A
triadic
#9D771A #1A9D77 #771A9D
tetradic
#9D771A #1A9D35 #1A409D #9D1A81
square
#9D771A #1A9D35 #1A409D #9D1A81
split-complementary
#9D771A #1A819D #351A9D
monochromatic
#342709 #684F11 #9D771A #D29F23 #E2B74F

Accessibility & contrast

On white

4.13
#9D771A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9D771A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D771A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D771A#FFFFFF#000000##000000
##9D771A1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877702
Deuteranopia (green-blind)
#90811F
Tritanopia (blue-blind)
#AB6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d771a;
/* rgb */ color: rgb(157, 119, 26);
/* oklch */ color: oklch(59.1% 0.113 84.2);
Tailwind
colors: {
  custom: {
    50: '#bf9d60',
    500: '#9d771a',
    950: '#000000',
  },
}
SCSS
$custom: #9d771a;
$custom-light: #bf9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9d771a",
  "rgb": {
    "r": 157,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 42.595,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59135,
    "c": 0.11294,
    "h": 84.2
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#9D771A
secondary
#4E71C4
accent
#6EEE39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9D771A

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

Preview Lab → · Contrast checker → · Palette generator →

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