#A7972E#A7972E

#A7972E 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#A7972E
RGBrgb(167, 151, 46)
HSLhsl(52, 57%, 42%)
HSVhsv(52, 72%, 65%)
CMYKcmyk(0%, 9.6%, 72.5%, 34.5%)
CIE-LABlab(62.12, -6.05, 54.45)
CIE-LCHlch(62.12, 54.79, 96.34°)
OKLaboklab(67.14% -0.0221 0.1208)
OKLCHoklch(67.14% 0.123 100.4)
XYZxyz(27.4974, 30.5472, 7.0321)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7972E #2E3EA7
analogous
#A75B2E #A7972E #7BA72E
triadic
#A7972E #2EA797 #972EA7
tetradic
#A7972E #2EA75B #2E3EA7 #A72E7B
square
#A7972E #2EA75B #2E3EA7 #A72E7B
split-complementary
#A7972E #2E7BA7 #5B2EA7
monochromatic
#474014 #776C21 #A7972E #CCBA46 #D9CC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7972E#FFFFFF#000000##000000
##A7972E1.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)
#A6931D
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#B48C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a7972e;
/* rgb */ color: rgb(167, 151, 46);
/* oklch */ color: oklch(67.1% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#c5b56e',
    500: '#a7972e',
    950: '#000000',
  },
}
SCSS
$custom: #a7972e;
$custom-light: #c5b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7972e",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 52.066,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67143,
    "c": 0.1228,
    "h": 100.4
  },
  "luminance": 0.30546
}

Semantic roles & 50–950 ramp

primary
#A7972E
secondary
#707AC1
accent
#5CE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7972E

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

Preview Lab → · Contrast checker → · Palette generator →

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