#A8972A#A8972A

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

Color values

HEX#A8972A
RGBrgb(168, 151, 42)
HSLhsl(52, 60%, 41%)
HSVhsv(52, 75%, 66%)
CMYKcmyk(0%, 10.1%, 75%, 34.1%)
CIE-LABlab(62.19, -5.79, 56.07)
CIE-LCHlch(62.19, 56.36, 95.90°)
OKLaboklab(67.21% -0.0219 0.1234)
OKLCHoklch(67.21% 0.125 100.1)
XYZxyz(27.6343, 30.6265, 6.6460)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8972A #2A3BA8
analogous
#A8582A #A8972A #7AA82A
triadic
#A8972A #2AA897 #972AA8
tetradic
#A8972A #2AA858 #2A3BA8 #A82A7A
square
#A8972A #2AA858 #2A3BA8 #A82A7A
split-complementary
#A8972A #2A7AA8 #582AA8
monochromatic
#463F12 #776B1E #A8972A #CFBC40 #DBCD71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8972A#FFFFFF#000000##000000
##A8972A1.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)
#A69316
Deuteranopia (green-blind)
#AB9931
Tritanopia (blue-blind)
#B58C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a8972a;
/* rgb */ color: rgb(168, 151, 42);
/* oklch */ color: oklch(67.2% 0.125 100.1);
Tailwind
colors: {
  custom: {
    50: '#c6b56c',
    500: '#a8972a',
    950: '#000000',
  },
}
SCSS
$custom: #a8972a;
$custom-light: #c6b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8972a",
  "rgb": {
    "r": 168,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 51.905,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6721,
    "c": 0.12533,
    "h": 100.1
  },
  "luminance": 0.30625
}

Semantic roles & 50–950 ramp

primary
#A8972A
secondary
#6B77C3
accent
#5AE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A8972A

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

Preview Lab → · Contrast checker → · Palette generator →

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