#A1971F#A1971F

#A1971F is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.5% C 0.132 H 104.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A1971F
RGBrgb(161, 151, 31)
HSLhsl(55, 68%, 38%)
HSVhsv(55, 81%, 63%)
CMYKcmyk(0%, 6.2%, 80.7%, 36.9%)
CIE-LABlab(61.49, -9.38, 58.88)
CIE-LCHlch(61.49, 59.62, 99.05°)
OKLaboklab(66.48% -0.0326 0.1275)
OKLCHoklch(66.48% 0.132 104.4)
XYZxyz(26.0131, 29.8103, 5.6798)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1971F #1F29A1
analogous
#A1561F #A1971F #6AA11F
triadic
#A1971F #1FA197 #971FA1
tetradic
#A1971F #1FA156 #1F29A1 #A11F6A
square
#A1971F #1FA156 #1F29A1 #A11F6A
split-complementary
#A1971F #1F6AA1 #561FA1
monochromatic
#3A370B #6E6715 #A1971F #D4C729 #DFD55B

Accessibility & contrast

On white

3.02
#A1971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A1971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1971F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1971F#FFFFFF#000000##000000
##A1971F1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A89729
Tritanopia (blue-blind)
#AE8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a1971f;
/* rgb */ color: rgb(161, 151, 31);
/* oklch */ color: oklch(66.5% 0.132 104.4);
Tailwind
colors: {
  custom: {
    50: '#c1b567',
    500: '#a1971f',
    950: '#000000',
  },
}
SCSS
$custom: #a1971f;
$custom-light: #c1b567;
$custom-dark: #000000;
JSON
{
  "hex": "#a1971f",
  "rgb": {
    "r": 161,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 55.385,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66481,
    "c": 0.13164,
    "h": 104.4
  },
  "luminance": 0.29809
}

Semantic roles & 50–950 ramp

primary
#A1971F
secondary
#5861C4
accent
#4BEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #A1971F

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

Preview Lab → · Contrast checker → · Palette generator →

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