#A9972F#A9972F

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

Color values

HEX#A9972F
RGBrgb(169, 151, 47)
HSLhsl(51, 56%, 42%)
HSVhsv(51, 72%, 66%)
CMYKcmyk(0%, 10.7%, 72.2%, 33.7%)
CIE-LABlab(62.32, -5.11, 54.31)
CIE-LCHlch(62.32, 54.55, 95.37°)
OKLaboklab(67.34% -0.0195 0.1206)
OKLCHoklch(67.34% 0.122 99.2)
XYZxyz(27.9432, 30.7748, 7.1570)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9972F #2F41A9
analogous
#A95A2F #A9972F #7EA92F
triadic
#A9972F #2FA997 #972FA9
tetradic
#A9972F #2FA95A #2F41A9 #A92F7E
square
#A9972F #2FA95A #2F41A9 #A92F7E
split-complementary
#A9972F #2F7EA9 #5A2FA9
monochromatic
#494114 #796C22 #A9972F #CCB949 #DACB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9972F#FFFFFF#000000##000000
##A9972F1.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)
#A6931F
Deuteranopia (green-blind)
#AB9935
Tritanopia (blue-blind)
#B68C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a9972f;
/* rgb */ color: rgb(169, 151, 47);
/* oklch */ color: oklch(67.3% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#c6b56e',
    500: '#a9972f',
    950: '#000000',
  },
}
SCSS
$custom: #a9972f;
$custom-light: #c6b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9972f",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 51.148,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67342,
    "c": 0.12217,
    "h": 99.2
  },
  "luminance": 0.30773
}

Semantic roles & 50–950 ramp

primary
#A9972F
secondary
#727EC2
accent
#5EE048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A9972F

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

Preview Lab → · Contrast checker → · Palette generator →

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