#A5972D#A5972D

#A5972D is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.9% C 0.123 H 101.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A5972D
RGBrgb(165, 151, 45)
HSLhsl(53, 57%, 41%)
HSVhsv(53, 73%, 65%)
CMYKcmyk(0%, 8.5%, 72.7%, 35.3%)
CIE-LABlab(61.93, -6.99, 54.59)
CIE-LCHlch(61.93, 55.04, 97.30°)
OKLaboklab(66.94% -0.0248 0.121)
OKLCHoklch(66.94% 0.123 101.6)
XYZxyz(27.0585, 30.3232, 6.9098)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5972D #2D3BA5
analogous
#A55B2D #A5972D #77A52D
triadic
#A5972D #2DA597 #972DA5
tetradic
#A5972D #2DA55B #2D3BA5 #A52D77
square
#A5972D #2DA55B #2D3BA5 #A52D77
split-complementary
#A5972D #2D77A5 #5B2DA5
monochromatic
#453F13 #756B20 #A5972D #CCBC43 #D9CD73

Accessibility & contrast

On white

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

On black

7.06
#A5972D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5972D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5972D#FFFFFF#000000##000000
##A5972D1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5972d;
/* rgb */ color: rgb(165, 151, 45);
/* oklch */ color: oklch(66.9% 0.123 101.6);
Tailwind
colors: {
  custom: {
    50: '#c3b56d',
    500: '#a5972d',
    950: '#000000',
  },
}
SCSS
$custom: #a5972d;
$custom-light: #c3b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5972d",
  "rgb": {
    "r": 165,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 53,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66945,
    "c": 0.12349,
    "h": 101.6
  },
  "luminance": 0.30322
}

Semantic roles & 50–950 ramp

primary
#A5972D
secondary
#6D77C1
accent
#59E047
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5972D

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

Preview Lab → · Contrast checker → · Palette generator →

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