#9B771B#9B771B

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

Color values

HEX#9B771B
RGBrgb(155, 119, 27)
HSLhsl(43, 70%, 36%)
HSVhsv(43, 83%, 61%)
CMYKcmyk(0%, 23.2%, 82.6%, 39.2%)
CIE-LABlab(52.11, 5.36, 51.65)
CIE-LCHlch(52.11, 51.93, 84.07°)
OKLaboklab(58.91% 0.009 0.1114)
OKLCHoklch(58.91% 0.112 85.4)
XYZxyz(20.3136, 20.2428, 3.8741)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B771B #1B3F9B
analogous
#9B371B #9B771B #7F9B1B
triadic
#9B771B #1B9B77 #771B9B
tetradic
#9B771B #1B9B37 #1B3F9B #9B1B7F
square
#9B771B #1B9B37 #1B3F9B #9B1B7F
split-complementary
#9B771B #1B7F9B #371B9B
monochromatic
#332709 #674F12 #9B771B #CF9F24 #E0B850

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B771B#FFFFFF#000000##000000
##9B771B1.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)
#877705
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#A96B66
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b771b;
/* rgb */ color: rgb(155, 119, 27);
/* oklch */ color: oklch(58.9% 0.112 85.4);
Tailwind
colors: {
  custom: {
    50: '#bd9d60',
    500: '#9b771b',
    950: '#000000',
  },
}
SCSS
$custom: #9b771b;
$custom-light: #bd9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9b771b",
  "rgb": {
    "r": 155,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 43.125,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.11175,
    "h": 85.4
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#9B771B
secondary
#4F6FC3
accent
#6DED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B771B

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

Preview Lab → · Contrast checker → · Palette generator →

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