#A5972F#A5972F

#A5972F is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.0% C 0.122 H 101.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A5972F
RGBrgb(165, 151, 47)
HSLhsl(53, 56%, 42%)
HSVhsv(53, 72%, 65%)
CMYKcmyk(0%, 8.5%, 71.5%, 35.3%)
CIE-LABlab(61.95, -6.89, 53.82)
CIE-LCHlch(61.95, 54.26, 97.30°)
OKLaboklab(66.96% -0.0243 0.1197)
OKLCHoklch(66.96% 0.122 101.5)
XYZxyz(27.0980, 30.3390, 7.1174)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5972F #2F3DA5
analogous
#A55C2F #A5972F #78A52F
triadic
#A5972F #2FA597 #972FA5
tetradic
#A5972F #2FA55C #2F3DA5 #A52F78
square
#A5972F #2FA55C #2F3DA5 #A52F78
split-complementary
#A5972F #2F78A5 #5C2FA5
monochromatic
#464014 #756B21 #A5972F #CBBB47 #D8CC76

Accessibility & contrast

On white

2.97
#A5972F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A5972F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5972F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5972F#FFFFFF#000000##000000
##A5972F1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921F
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#B28C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a5972f;
/* rgb */ color: rgb(165, 151, 47);
/* oklch */ color: oklch(67.0% 0.122 101.5);
Tailwind
colors: {
  custom: {
    50: '#c3b56e',
    500: '#a5972f',
    950: '#000000',
  },
}
SCSS
$custom: #a5972f;
$custom-light: #c3b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5972f",
  "rgb": {
    "r": 165,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 52.881,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.12216,
    "h": 101.5
  },
  "luminance": 0.30338
}

Semantic roles & 50–950 ramp

primary
#A5972F
secondary
#7079C0
accent
#5BDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A5972F

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

Preview Lab → · Contrast checker → · Palette generator →

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