#A1791F#A1791F

#A1791F is a mid, moderate orange. Relative luminance 0.214; OKLCH L 60.0% C 0.113 H 82.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A1791F
RGBrgb(161, 121, 31)
HSLhsl(42, 68%, 38%)
HSVhsv(42, 81%, 63%)
CMYKcmyk(0%, 24.8%, 80.7%, 36.9%)
CIE-LABlab(53.33, 7.14, 51.59)
CIE-LCHlch(53.33, 52.08, 82.12°)
OKLaboklab(60.03% 0.0142 0.1118)
OKLCHoklch(60.03% 0.113 82.7)
XYZxyz(21.7841, 21.3524, 4.2701)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1791F #1F47A1
analogous
#A1381F #A1791F #88A11F
triadic
#A1791F #1FA179 #791FA1
tetradic
#A1791F #1FA138 #1F47A1 #A11F88
square
#A1791F #1FA138 #1F47A1 #A11F88
split-complementary
#A1791F #1F88A1 #381FA1
monochromatic
#3A2C0B #6E5215 #A1791F #D4A029 #DFB75B

Accessibility & contrast

On white

3.98
#A1791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A1791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1791F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1791F#FFFFFF#000000##000000
##A1791F1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790C
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#AF6D68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a1791f;
/* rgb */ color: rgb(161, 121, 31);
/* oklch */ color: oklch(60.0% 0.113 82.7);
Tailwind
colors: {
  custom: {
    50: '#c19f63',
    500: '#a1791f',
    950: '#000000',
  },
}
SCSS
$custom: #a1791f;
$custom-light: #c19f63;
$custom-dark: #000000;
JSON
{
  "hex": "#a1791f",
  "rgb": {
    "r": 161,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 41.538,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.11273,
    "h": 82.7
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#A1791F
secondary
#5879C4
accent
#73EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #A1791F

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

Preview Lab → · Contrast checker → · Palette generator →

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