#A8972F#A8972F

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

Color values

HEX#A8972F
RGBrgb(168, 151, 47)
HSLhsl(52, 56%, 42%)
HSVhsv(52, 72%, 66%)
CMYKcmyk(0%, 10.1%, 72%, 34.1%)
CIE-LABlab(62.22, -5.55, 54.19)
CIE-LCHlch(62.22, 54.47, 95.85°)
OKLaboklab(67.25% -0.0207 0.1204)
OKLCHoklch(67.25% 0.122 99.7)
XYZxyz(27.7294, 30.6646, 7.1470)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8972F #2F40A8
analogous
#A85A2F #A8972F #7DA82F
triadic
#A8972F #2FA897 #972FA8
tetradic
#A8972F #2FA85A #2F40A8 #A82F7D
square
#A8972F #2FA85A #2F40A8 #A82F7D
split-complementary
#A8972F #2F7DA8 #5A2FA8
monochromatic
#484114 #786C22 #A8972F #CCB948 #D9CC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8972F#FFFFFF#000000##000000
##A8972F1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#B58C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a8972f;
/* rgb */ color: rgb(168, 151, 47);
/* oklch */ color: oklch(67.2% 0.122 99.7);
Tailwind
colors: {
  custom: {
    50: '#c5b56e',
    500: '#a8972f',
    950: '#000000',
  },
}
SCSS
$custom: #a8972f;
$custom-light: #c5b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8972f",
  "rgb": {
    "r": 168,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 51.57,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67246,
    "c": 0.12214,
    "h": 99.7
  },
  "luminance": 0.30663
}

Semantic roles & 50–950 ramp

primary
#A8972F
secondary
#717DC1
accent
#5DE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A8972F

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

Preview Lab → · Contrast checker → · Palette generator →

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