#A7972F#A7972F

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

Color values

HEX#A7972F
RGBrgb(167, 151, 47)
HSLhsl(52, 56%, 42%)
HSVhsv(52, 72%, 65%)
CMYKcmyk(0%, 9.6%, 71.9%, 34.5%)
CIE-LABlab(62.13, -6.00, 54.07)
CIE-LCHlch(62.13, 54.40, 96.33°)
OKLaboklab(67.15% -0.0219 0.1202)
OKLCHoklch(67.15% 0.122 100.3)
XYZxyz(27.5173, 30.5552, 7.1371)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7972F #2F3FA7
analogous
#A75B2F #A7972F #7BA72F
triadic
#A7972F #2FA797 #972FA7
tetradic
#A7972F #2FA75B #2F3FA7 #A72F7B
square
#A7972F #2FA75B #2F3FA7 #A72F7B
split-complementary
#A7972F #2F7BA7 #5B2FA7
monochromatic
#474114 #776C22 #A7972F #CBBA48 #D9CC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7972F#FFFFFF#000000##000000
##A7972F1.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)
#A5931F
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#B48C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a7972f;
/* rgb */ color: rgb(167, 151, 47);
/* oklch */ color: oklch(67.2% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#c5b56e',
    500: '#a7972f',
    950: '#000000',
  },
}
SCSS
$custom: #a7972f;
$custom-light: #c5b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7972f",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 52,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6715,
    "c": 0.12214,
    "h": 100.3
  },
  "luminance": 0.30554
}

Semantic roles & 50–950 ramp

primary
#A7972F
secondary
#717CC1
accent
#5DDF48
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A7972F

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

Preview Lab → · Contrast checker → · Palette generator →

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