#A7972D#A7972D

#A7972D is a light, vivid yellow. Relative luminance 0.305; OKLCH L 67.1% C 0.123 H 100.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A7972D
RGBrgb(167, 151, 45)
HSLhsl(52, 58%, 42%)
HSVhsv(52, 73%, 65%)
CMYKcmyk(0%, 9.6%, 73.1%, 34.5%)
CIE-LABlab(62.12, -6.10, 54.83)
CIE-LCHlch(62.12, 55.17, 96.35°)
OKLaboklab(67.14% -0.0224 0.1214)
OKLCHoklch(67.14% 0.123 100.4)
XYZxyz(27.4779, 30.5394, 6.9295)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7972D #2D3DA7
analogous
#A75A2D #A7972D #7AA72D
triadic
#A7972D #2DA797 #972DA7
tetradic
#A7972D #2DA75A #2D3DA7 #A72D7A
square
#A7972D #2DA75A #2D3DA7 #A72D7A
split-complementary
#A7972D #2D7AA7 #5A2DA7
monochromatic
#474013 #776B20 #A7972D #CDBB44 #DACC75

Accessibility & contrast

On white

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

On black

7.11
#A7972D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7972D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7972D#FFFFFF#000000##000000
##A7972D1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#B48C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a7972d;
/* rgb */ color: rgb(167, 151, 45);
/* oklch */ color: oklch(67.1% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#c5b56d',
    500: '#a7972d',
    950: '#000000',
  },
}
SCSS
$custom: #a7972d;
$custom-light: #c5b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7972d",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 52.131,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67135,
    "c": 0.12346,
    "h": 100.4
  },
  "luminance": 0.30538
}

Semantic roles & 50–950 ramp

primary
#A7972D
secondary
#6E79C1
accent
#5BE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7972D

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

Preview Lab → · Contrast checker → · Palette generator →

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