#9C771B#9C771B

#9C771B is a mid, moderate orange. Relative luminance 0.203; OKLCH L 59.0% C 0.112 H 84.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9C771B
RGBrgb(156, 119, 27)
HSLhsl(43, 70%, 36%)
HSVhsv(43, 83%, 61%)
CMYKcmyk(0%, 23.7%, 82.7%, 38.8%)
CIE-LABlab(52.22, 5.82, 51.79)
CIE-LCHlch(52.22, 52.12, 83.58°)
OKLaboklab(59.03% 0.0103 0.1116)
OKLCHoklch(59.03% 0.112 84.7)
XYZxyz(20.5063, 20.3422, 3.8831)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C771B #1B409C
analogous
#9C371B #9C771B #809C1B
triadic
#9C771B #1B9C77 #771B9C
tetradic
#9C771B #1B9C37 #1B409C #9C1B80
square
#9C771B #1B9C37 #1B409C #9C1B80
split-complementary
#9C771B #1B809C #371B9C
monochromatic
#342709 #684F12 #9C771B #D09F24 #E1B751

Accessibility & contrast

On white

4.14
#9C771B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9C771B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C771B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C771B#FFFFFF#000000##000000
##9C771B1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#908120
Tritanopia (blue-blind)
#AA6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c771b;
/* rgb */ color: rgb(156, 119, 27);
/* oklch */ color: oklch(59.0% 0.112 84.7);
Tailwind
colors: {
  custom: {
    50: '#be9d60',
    500: '#9c771b',
    950: '#000000',
  },
}
SCSS
$custom: #9c771b;
$custom-light: #be9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9c771b",
  "rgb": {
    "r": 156,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 42.791,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59028,
    "c": 0.11211,
    "h": 84.7
  },
  "luminance": 0.20341
}

Semantic roles & 50–950 ramp

primary
#9C771B
secondary
#4F71C3
accent
#6EED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9C771B

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

Preview Lab → · Contrast checker → · Palette generator →

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