#9C771F#9C771F

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

Color values

HEX#9C771F
RGBrgb(156, 119, 31)
HSLhsl(42, 67%, 37%)
HSVhsv(42, 80%, 61%)
CMYKcmyk(0%, 23.7%, 80.1%, 38.8%)
CIE-LABlab(52.24, 5.97, 50.39)
CIE-LCHlch(52.24, 50.74, 83.24°)
OKLaboklab(59.05% 0.0112 0.1095)
OKLCHoklch(59.05% 0.11 84.2)
XYZxyz(20.5558, 20.3620, 4.1437)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C771F #1F449C
analogous
#9C391F #9C771F #839C1F
triadic
#9C771F #1F9C77 #771F9C
tetradic
#9C771F #1F9C39 #1F449C #9C1F83
square
#9C771F #1F9C39 #1F449C #9C1F83
split-complementary
#9C771F #1F839C #391F9C
monochromatic
#36290B #695015 #9C771F #CF9E29 #DEB658

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C771F#FFFFFF#000000##000000
##9C771F1.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)
#87770E
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#AA6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c771f;
/* rgb */ color: rgb(156, 119, 31);
/* oklch */ color: oklch(59.1% 0.110 84.2);
Tailwind
colors: {
  custom: {
    50: '#be9d62',
    500: '#9c771f',
    950: '#000000',
  },
}
SCSS
$custom: #9c771f;
$custom-light: #be9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#9c771f",
  "rgb": {
    "r": 156,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 42.24,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59052,
    "c": 0.11009,
    "h": 84.2
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#9C771F
secondary
#5575C1
accent
#71EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9C771F

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

Preview Lab → · Contrast checker → · Palette generator →

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