#9B771C#9B771C

#9B771C is a mid, moderate orange. Relative luminance 0.202; OKLCH L 58.9% C 0.111 H 85.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9B771C
RGBrgb(155, 119, 28)
HSLhsl(43, 69%, 36%)
HSVhsv(43, 82%, 61%)
CMYKcmyk(0%, 23.2%, 81.9%, 39.2%)
CIE-LABlab(52.12, 5.40, 51.31)
CIE-LCHlch(52.12, 51.59, 84.00°)
OKLaboklab(58.92% 0.0092 0.1109)
OKLCHoklch(58.92% 0.111 85.2)
XYZxyz(20.3253, 20.2475, 3.9360)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B771C #1C409B
analogous
#9B371C #9B771C #7F9B1C
triadic
#9B771C #1C9B77 #771C9B
tetradic
#9B771C #1C9B37 #1C409B #9B1C7F
square
#9B771C #1C9B37 #1C409B #9B1C7F
split-complementary
#9B771C #1C7F9B #371C9B
monochromatic
#332709 #674F13 #9B771C #CF9F25 #E0B752

Accessibility & contrast

On white

4.16
#9B771C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9B771C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B771C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B771C#FFFFFF#000000##000000
##9B771C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877707
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#A96B66
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b771c;
/* rgb */ color: rgb(155, 119, 28);
/* oklch */ color: oklch(58.9% 0.111 85.2);
Tailwind
colors: {
  custom: {
    50: '#bd9d61',
    500: '#9b771c',
    950: '#000000',
  },
}
SCSS
$custom: #9b771c;
$custom-light: #bd9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#9b771c",
  "rgb": {
    "r": 155,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 42.992,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.11126,
    "h": 85.2
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#9B771C
secondary
#5071C3
accent
#6EEC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9B771C

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

Preview Lab → · Contrast checker → · Palette generator →

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