#A1781B#A1781B

#A1781B is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.114 H 82.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A1781B
RGBrgb(161, 120, 27)
HSLhsl(42, 71%, 37%)
HSVhsv(42, 83%, 63%)
CMYKcmyk(0%, 25.5%, 83.2%, 36.9%)
CIE-LABlab(53.05, 7.56, 52.73)
CIE-LCHlch(53.05, 53.27, 81.84°)
OKLaboklab(59.8% 0.015 0.1134)
OKLCHoklch(59.8% 0.114 82.4)
XYZxyz(21.6137, 21.0908, 3.9693)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1781B #1B44A1
analogous
#A1351B #A1781B #87A11B
triadic
#A1781B #1BA178 #781BA1
tetradic
#A1781B #1BA135 #1B44A1 #A11B87
square
#A1781B #1BA135 #1B44A1 #A11B87
split-complementary
#A1781B #1B87A1 #351BA1
monochromatic
#382A09 #6D5112 #A1781B #D59F24 #E2B754

Accessibility & contrast

On white

4.02
#A1781B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A1781B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1781B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1781B#FFFFFF#000000##000000
##A1781B1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897904
Deuteranopia (green-blind)
#938320
Tritanopia (blue-blind)
#AF6C67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a1781b;
/* rgb */ color: rgb(161, 120, 27);
/* oklch */ color: oklch(59.8% 0.114 82.4);
Tailwind
colors: {
  custom: {
    50: '#c29e61',
    500: '#a1781b',
    950: '#000000',
  },
}
SCSS
$custom: #a1781b;
$custom-light: #c29e61;
$custom-dark: #000000;
JSON
{
  "hex": "#a1781b",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 41.642,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.11436,
    "h": 82.4
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#A1781B
secondary
#5276C5
accent
#71EE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #A1781B

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

Preview Lab → · Contrast checker → · Palette generator →

#A1781B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva