#A8972B#A8972B

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

Color values

HEX#A8972B
RGBrgb(168, 151, 43)
HSLhsl(52, 59%, 41%)
HSVhsv(52, 74%, 66%)
CMYKcmyk(0%, 10.1%, 74.4%, 34.1%)
CIE-LABlab(62.20, -5.75, 55.70)
CIE-LCHlch(62.20, 56.00, 95.89°)
OKLaboklab(67.22% -0.0217 0.1228)
OKLCHoklch(67.22% 0.125 100)
XYZxyz(27.6524, 30.6338, 6.7414)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8972B #2B3CA8
analogous
#A8592B #A8972B #7BA82B
triadic
#A8972B #2BA897 #972BA8
tetradic
#A8972B #2BA859 #2B3CA8 #A82B7B
square
#A8972B #2BA859 #2B3CA8 #A82B7B
split-complementary
#A8972B #2B7BA8 #592BA8
monochromatic
#473F12 #776B1F #A8972B #CFBB42 #DBCD72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8972B#FFFFFF#000000##000000
##A8972B1.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)
#A69318
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#B58C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a8972b;
/* rgb */ color: rgb(168, 151, 43);
/* oklch */ color: oklch(67.2% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#c5b56c',
    500: '#a8972b',
    950: '#000000',
  },
}
SCSS
$custom: #a8972b;
$custom-light: #c5b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8972b",
  "rgb": {
    "r": 168,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 51.84,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67217,
    "c": 0.12472,
    "h": 100
  },
  "luminance": 0.30632
}

Semantic roles & 50–950 ramp

primary
#A8972B
secondary
#6C78C2
accent
#5BE245
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A8972B

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

Preview Lab → · Contrast checker → · Palette generator →

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