#A5972A#A5972A

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

Color values

HEX#A5972A
RGBrgb(165, 151, 42)
HSLhsl(53, 59%, 41%)
HSVhsv(53, 75%, 65%)
CMYKcmyk(0%, 8.5%, 74.5%, 35.3%)
CIE-LABlab(61.91, -7.14, 55.70)
CIE-LCHlch(61.91, 56.16, 97.30°)
OKLaboklab(66.92% -0.0255 0.1228)
OKLCHoklch(66.92% 0.125 101.7)
XYZxyz(27.0028, 30.3009, 6.6164)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5972A #2A38A5
analogous
#A55A2A #A5972A #75A52A
triadic
#A5972A #2AA597 #972AA5
tetradic
#A5972A #2AA55A #2A38A5 #A52A75
square
#A5972A #2AA55A #2A38A5 #A52A75
split-complementary
#A5972A #2A75A5 #5A2AA5
monochromatic
#433E11 #746A1E #A5972A #CEBE3E #DACE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5972A#FFFFFF#000000##000000
##A5972A1.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)
#A59216
Deuteranopia (green-blind)
#A99831
Tritanopia (blue-blind)
#B28C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a5972a;
/* rgb */ color: rgb(165, 151, 42);
/* oklch */ color: oklch(66.9% 0.125 101.7);
Tailwind
colors: {
  custom: {
    50: '#c3b56c',
    500: '#a5972a',
    950: '#000000',
  },
}
SCSS
$custom: #a5972a;
$custom-light: #c3b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5972a",
  "rgb": {
    "r": 165,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 53.171,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66923,
    "c": 0.12538,
    "h": 101.7
  },
  "luminance": 0.303
}

Semantic roles & 50–950 ramp

primary
#A5972A
secondary
#6973C1
accent
#57E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5972A

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

Preview Lab → · Contrast checker → · Palette generator →

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