#A9972D#A9972D

#A9972D is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.123 H 99.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A9972D
RGBrgb(169, 151, 45)
HSLhsl(51, 58%, 42%)
HSVhsv(51, 73%, 66%)
CMYKcmyk(0%, 10.7%, 73.4%, 33.7%)
CIE-LABlab(62.30, -5.20, 55.08)
CIE-LCHlch(62.30, 55.32, 95.40°)
OKLaboklab(67.33% -0.02 0.1219)
OKLCHoklch(67.33% 0.123 99.3)
XYZxyz(27.9038, 30.7590, 6.9494)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9972D #2D3FA9
analogous
#A9592D #A9972D #7DA92D
triadic
#A9972D #2DA997 #972DA9
tetradic
#A9972D #2DA959 #2D3FA9 #A92D7D
square
#A9972D #2DA959 #2D3FA9 #A92D7D
split-complementary
#A9972D #2D7DA9 #592DA9
monochromatic
#484113 #796C20 #A9972D #CEBA46 #DACC76

Accessibility & contrast

On white

2.94
#A9972D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#A9972D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9972D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9972D#FFFFFF#000000##000000
##A9972D1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#AB9934
Tritanopia (blue-blind)
#B68C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a9972d;
/* rgb */ color: rgb(169, 151, 45);
/* oklch */ color: oklch(67.3% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#c6b56d',
    500: '#a9972d',
    950: '#000000',
  },
}
SCSS
$custom: #a9972d;
$custom-light: #c6b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9972d",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 51.29,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.12348,
    "h": 99.3
  },
  "luminance": 0.30758
}

Semantic roles & 50–950 ramp

primary
#A9972D
secondary
#6F7CC2
accent
#5DE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A9972D

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

Preview Lab → · Contrast checker → · Palette generator →

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