#A5972B#A5972B

#A5972B 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#A5972B
RGBrgb(165, 151, 43)
HSLhsl(53, 59%, 41%)
HSVhsv(53, 74%, 65%)
CMYKcmyk(0%, 8.5%, 73.9%, 35.3%)
CIE-LABlab(61.92, -7.09, 55.34)
CIE-LCHlch(61.92, 55.79, 97.30°)
OKLaboklab(66.93% -0.0253 0.1222)
OKLCHoklch(66.93% 0.125 101.7)
XYZxyz(27.0209, 30.3082, 6.7118)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5972B #2B39A5
analogous
#A55A2B #A5972B #76A52B
triadic
#A5972B #2BA597 #972BA5
tetradic
#A5972B #2BA55A #2B39A5 #A52B76
square
#A5972B #2BA55A #2B39A5 #A52B76
split-complementary
#A5972B #2B76A5 #5A2BA5
monochromatic
#443E12 #746B1E #A5972B #CDBD40 #DACE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5972B#FFFFFF#000000##000000
##A5972B1.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)
#A59218
Deuteranopia (green-blind)
#A99832
Tritanopia (blue-blind)
#B28C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a5972b;
/* rgb */ color: rgb(165, 151, 43);
/* oklch */ color: oklch(66.9% 0.125 101.7);
Tailwind
colors: {
  custom: {
    50: '#c3b56c',
    500: '#a5972b',
    950: '#000000',
  },
}
SCSS
$custom: #a5972b;
$custom-light: #c3b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5972b",
  "rgb": {
    "r": 165,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 53.115,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6693,
    "c": 0.12476,
    "h": 101.7
  },
  "luminance": 0.30307
}

Semantic roles & 50–950 ramp

primary
#A5972B
secondary
#6B75C1
accent
#58E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5972B

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

Preview Lab → · Contrast checker → · Palette generator →

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