#A8971F#A8971F

#A8971F is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.131 H 100.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A8971F
RGBrgb(168, 151, 31)
HSLhsl(53, 69%, 39%)
HSVhsv(53, 82%, 66%)
CMYKcmyk(0%, 10.1%, 81.5%, 34.1%)
CIE-LABlab(62.13, -6.22, 59.69)
CIE-LCHlch(62.13, 60.01, 95.95°)
OKLaboklab(67.15% -0.0241 0.1289)
OKLCHoklch(67.15% 0.131 100.6)
XYZxyz(27.4638, 30.5583, 5.7478)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8971F #1F30A8
analogous
#A8531F #A8971F #75A81F
triadic
#A8971F #1FA897 #971FA8
tetradic
#A8971F #1FA853 #1F30A8 #A81F75
square
#A8971F #1FA853 #1F30A8 #A81F75
split-complementary
#A8971F #1F75A8 #531FA8
monochromatic
#413A0C #746915 #A8971F #D8C32C #E2D260

Accessibility & contrast

On white

2.95
#A8971F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A8971F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8971F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8971F#FFFFFF#000000##000000
##A8971F1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#B68B81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a8971f;
/* rgb */ color: rgb(168, 151, 31);
/* oklch */ color: oklch(67.1% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#c6b567',
    500: '#a8971f',
    950: '#000000',
  },
}
SCSS
$custom: #a8971f;
$custom-light: #c6b567;
$custom-dark: #000000;
JSON
{
  "hex": "#a8971f",
  "rgb": {
    "r": 168,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 52.555,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67145,
    "c": 0.13118,
    "h": 100.6
  },
  "luminance": 0.30557
}

Semantic roles & 50–950 ramp

primary
#A8971F
secondary
#5D6AC6
accent
#52EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141106
muted
#82807A

Preview Lab

Preview with #A8971F

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

Preview Lab → · Contrast checker → · Palette generator →

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