#9B771F#9B771F

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

Color values

HEX#9B771F
RGBrgb(155, 119, 31)
HSLhsl(43, 67%, 36%)
HSVhsv(43, 80%, 61%)
CMYKcmyk(0%, 23.2%, 80%, 39.2%)
CIE-LABlab(52.13, 5.51, 50.25)
CIE-LCHlch(52.13, 50.55, 83.74°)
OKLaboklab(58.94% 0.0099 0.1093)
OKLCHoklch(58.94% 0.11 84.8)
XYZxyz(20.3630, 20.2626, 4.1346)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B771F #1F439B
analogous
#9B391F #9B771F #819B1F
triadic
#9B771F #1F9B77 #771F9B
tetradic
#9B771F #1F9B39 #1F439B #9B1F81
square
#9B771F #1F9B39 #1F439B #9B1F81
split-complementary
#9B771F #1F819B #391F9B
monochromatic
#35290B #685015 #9B771F #CE9E29 #DDB657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B771F#FFFFFF#000000##000000
##9B771F1.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)
#87770E
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#A96B66
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b771f;
/* rgb */ color: rgb(155, 119, 31);
/* oklch */ color: oklch(58.9% 0.110 84.8);
Tailwind
colors: {
  custom: {
    50: '#bd9d62',
    500: '#9b771f',
    950: '#000000',
  },
}
SCSS
$custom: #9b771f;
$custom-light: #bd9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#9b771f",
  "rgb": {
    "r": 155,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 42.581,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58939,
    "c": 0.10972,
    "h": 84.8
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#9B771F
secondary
#5574C1
accent
#70EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9B771F

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

Preview Lab → · Contrast checker → · Palette generator →

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