#9B771A#9B771A

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

Color values

HEX#9B771A
RGBrgb(155, 119, 26)
HSLhsl(43, 71%, 35%)
HSVhsv(43, 83%, 61%)
CMYKcmyk(0%, 23.2%, 83.2%, 39.2%)
CIE-LABlab(52.11, 5.33, 51.98)
CIE-LCHlch(52.11, 52.26, 84.15°)
OKLaboklab(58.91% 0.0088 0.1119)
OKLCHoklch(58.91% 0.112 85.5)
XYZxyz(20.3022, 20.2383, 3.8142)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B771A #1A3E9B
analogous
#9B361A #9B771A #7E9B1A
triadic
#9B771A #1A9B77 #771A9B
tetradic
#9B771A #1A9B36 #1A3E9B #9B1A7E
square
#9B771A #1A9B36 #1A3E9B #9B1A7E
split-complementary
#9B771A #1A7E9B #361A9B
monochromatic
#322708 #674F11 #9B771A #CF9F23 #E1B84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B771A#FFFFFF#000000##000000
##9B771A1.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)
#877702
Deuteranopia (green-blind)
#90801F
Tritanopia (blue-blind)
#A96B66
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b771a;
/* rgb */ color: rgb(155, 119, 26);
/* oklch */ color: oklch(58.9% 0.112 85.5);
Tailwind
colors: {
  custom: {
    50: '#bd9d60',
    500: '#9b771a',
    950: '#000000',
  },
}
SCSS
$custom: #9b771a;
$custom-light: #bd9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9b771a",
  "rgb": {
    "r": 155,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 43.256,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.11222,
    "h": 85.5
  },
  "luminance": 0.20237
}

Semantic roles & 50–950 ramp

primary
#9B771A
secondary
#4D6EC4
accent
#6CEE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B771A

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

Preview Lab → · Contrast checker → · Palette generator →

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