#9A771B#9A771B

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

Color values

HEX#9A771B
RGBrgb(154, 119, 27)
HSLhsl(43, 70%, 35%)
HSVhsv(43, 82%, 60%)
CMYKcmyk(0%, 22.7%, 82.5%, 39.6%)
CIE-LABlab(52.00, 4.90, 51.51)
CIE-LCHlch(52.00, 51.74, 84.57°)
OKLaboklab(58.8% 0.0078 0.1111)
OKLCHoklch(58.8% 0.111 86)
XYZxyz(20.1224, 20.1443, 3.8651)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A771B #1B3E9A
analogous
#9A381B #9A771B #7D9A1B
triadic
#9A771B #1B9A77 #771B9A
tetradic
#9A771B #1B9A38 #1B3E9A #9A1B7D
square
#9A771B #1B9A38 #1B3E9A #9A1B7D
split-complementary
#9A771B #1B7D9A #381B9A
monochromatic
#322709 #664F12 #9A771B #CE9F24 #E0B84F

Accessibility & contrast

On white

4.18
#9A771B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A771B#FFFFFF#000000##000000
##9A771B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877705
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#A86B66
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9a771b;
/* rgb */ color: rgb(154, 119, 27);
/* oklch */ color: oklch(58.8% 0.111 86.0);
Tailwind
colors: {
  custom: {
    50: '#bc9d60',
    500: '#9a771b',
    950: '#000000',
  },
}
SCSS
$custom: #9a771b;
$custom-light: #bc9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#9a771b",
  "rgb": {
    "r": 154,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 43.465,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.11141,
    "h": 86
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#9A771B
secondary
#4E6EC3
accent
#6CED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9A771B

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

Preview Lab → · Contrast checker → · Palette generator →

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