#A9971C#A9971C

#A9971C is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.2% C 0.132 H 100.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A9971C
RGBrgb(169, 151, 28)
HSLhsl(52, 72%, 39%)
HSVhsv(52, 83%, 66%)
CMYKcmyk(0%, 10.7%, 83.4%, 33.7%)
CIE-LABlab(62.21, -5.87, 60.66)
CIE-LCHlch(62.21, 60.94, 95.53°)
OKLaboklab(67.23% -0.0234 0.1304)
OKLCHoklch(67.23% 0.132 100.2)
XYZxyz(27.6398, 30.6535, 5.5592)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9971C #1C2EA9
analogous
#A9501C #A9971C #74A91C
triadic
#A9971C #1CA997 #971CA9
tetradic
#A9971C #1CA950 #1C2EA9 #A91C74
square
#A9971C #1CA950 #1C2EA9 #A91C74
split-complementary
#A9971C #1C74A9 #501CA9
monochromatic
#40390B #746813 #A9971C #DBC427 #E4D25B

Accessibility & contrast

On white

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

On black

7.13
#A9971C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9971C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9971C#FFFFFF#000000##000000
##A9971C1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#AB9927
Tritanopia (blue-blind)
#B78B81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a9971c;
/* rgb */ color: rgb(169, 151, 28);
/* oklch */ color: oklch(67.2% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#c7b566',
    500: '#a9971c',
    950: '#000000',
  },
}
SCSS
$custom: #a9971c;
$custom-light: #c7b566;
$custom-dark: #000000;
JSON
{
  "hex": "#a9971c",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 52.34,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.13249,
    "h": 100.2
  },
  "luminance": 0.30652
}

Semantic roles & 50–950 ramp

primary
#A9971C
secondary
#5967C8
accent
#51EE39
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141106
muted
#82807A

Preview Lab

Preview with #A9971C

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

Preview Lab → · Contrast checker → · Palette generator →

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