#A7972A#A7972A

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

Color values

HEX#A7972A
RGBrgb(167, 151, 42)
HSLhsl(52, 60%, 41%)
HSVhsv(52, 75%, 65%)
CMYKcmyk(0%, 9.6%, 74.9%, 34.5%)
CIE-LABlab(62.10, -6.24, 55.94)
CIE-LCHlch(62.10, 56.29, 96.37°)
OKLaboklab(67.11% -0.0231 0.1232)
OKLCHoklch(67.11% 0.125 100.6)
XYZxyz(27.4222, 30.5172, 6.6360)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7972A #2A3AA7
analogous
#A7582A #A7972A #78A72A
triadic
#A7972A #2AA797 #972AA7
tetradic
#A7972A #2AA758 #2A3AA7 #A72A78
square
#A7972A #2AA758 #2A3AA7 #A72A78
split-complementary
#A7972A #2A78A7 #582AA7
monochromatic
#453F11 #766B1E #A7972A #CFBC3F #DBCD70

Accessibility & contrast

On white

2.96
#A7972A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A7972A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7972A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7972A#FFFFFF#000000##000000
##A7972A1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7972a;
/* rgb */ color: rgb(167, 151, 42);
/* oklch */ color: oklch(67.1% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#c5b56c',
    500: '#a7972a',
    950: '#000000',
  },
}
SCSS
$custom: #a7972a;
$custom-light: #c5b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7972a",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 52.32,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67114,
    "c": 0.12533,
    "h": 100.6
  },
  "luminance": 0.30516
}

Semantic roles & 50–950 ramp

primary
#A7972A
secondary
#6B76C2
accent
#59E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7972A

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

Preview Lab → · Contrast checker → · Palette generator →

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