#9D771C#9D771C

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

Color values

HEX#9D771C
RGBrgb(157, 119, 28)
HSLhsl(42, 70%, 36%)
HSVhsv(42, 82%, 62%)
CMYKcmyk(0%, 24.2%, 82.2%, 38.4%)
CIE-LABlab(52.34, 6.32, 51.59)
CIE-LCHlch(52.34, 51.98, 83.02°)
OKLaboklab(59.15% 0.0118 0.1114)
OKLCHoklch(59.15% 0.112 84)
XYZxyz(20.7124, 20.4471, 3.9542)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D771C #1C429D
analogous
#9D371C #9D771C #839D1C
triadic
#9D771C #1C9D77 #771C9D
tetradic
#9D771C #1C9D37 #1C429D #9D1C83
square
#9D771C #1C9D37 #1C429D #9D1C83
split-complementary
#9D771C #1C839D #371C9D
monochromatic
#352809 #695013 #9D771C #D19E25 #E0B753

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D771C#FFFFFF#000000##000000
##9D771C1.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)
#877707
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#AB6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d771c;
/* rgb */ color: rgb(157, 119, 28);
/* oklch */ color: oklch(59.1% 0.112 84.0);
Tailwind
colors: {
  custom: {
    50: '#bf9d61',
    500: '#9d771c',
    950: '#000000',
  },
}
SCSS
$custom: #9d771c;
$custom-light: #bf9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#9d771c",
  "rgb": {
    "r": 157,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 42.326,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59146,
    "c": 0.11199,
    "h": 84
  },
  "luminance": 0.20446
}

Semantic roles & 50–950 ramp

primary
#9D771C
secondary
#5173C3
accent
#6FED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9D771C

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

Preview Lab → · Contrast checker → · Palette generator →

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