#9A771F#9A771F

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

Color values

HEX#9A771F
RGBrgb(154, 119, 31)
HSLhsl(43, 66%, 36%)
HSVhsv(43, 80%, 60%)
CMYKcmyk(0%, 22.7%, 79.9%, 39.6%)
CIE-LABlab(52.02, 5.05, 50.10)
CIE-LCHlch(52.02, 50.36, 84.25°)
OKLaboklab(58.83% 0.0086 0.109)
OKLCHoklch(58.83% 0.109 85.5)
XYZxyz(20.1719, 20.1640, 4.1257)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A771F #1F429A
analogous
#9A3A1F #9A771F #809A1F
triadic
#9A771F #1F9A77 #771F9A
tetradic
#9A771F #1F9A3A #1F429A #9A1F80
square
#9A771F #1F9A3A #1F429A #9A1F80
split-complementary
#9A771F #1F809A #3A1F9A
monochromatic
#34280A #675015 #9A771F #CD9E29 #DDB756

Accessibility & contrast

On white

4.17
#9A771F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9A771F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A771F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A771F#FFFFFF#000000##000000
##9A771F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#A86B66
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9a771f;
/* rgb */ color: rgb(154, 119, 31);
/* oklch */ color: oklch(58.8% 0.109 85.5);
Tailwind
colors: {
  custom: {
    50: '#bc9d62',
    500: '#9a771f',
    950: '#000000',
  },
}
SCSS
$custom: #9a771f;
$custom-light: #bc9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#9a771f",
  "rgb": {
    "r": 154,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 42.927,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.10936,
    "h": 85.5
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#9A771F
secondary
#5473C1
accent
#6FE93E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9A771F

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

Preview Lab → · Contrast checker → · Palette generator →

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