#A5A372#A5A372

#A5A372 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.067 H 106.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A5A372
RGBrgb(165, 163, 114)
HSLhsl(58, 22%, 55%)
HSVhsv(58, 31%, 65%)
CMYKcmyk(0%, 1.2%, 30.9%, 35.3%)
CIE-LABlab(66.07, -7.16, 25.79)
CIE-LCHlch(66.07, 26.76, 105.53°)
OKLaboklab(70.49% -0.0185 0.0643)
OKLCHoklch(70.49% 0.067 106)
XYZxyz(31.6517, 35.4092, 21.0836)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A372 #7274A5
analogous
#A58A72 #A5A372 #8EA572
triadic
#A5A372 #72A5A3 #A372A5
tetradic
#A5A372 #72A58A #7274A5 #A5728E
square
#A5A372 #72A58A #7274A5 #A5728E
split-complementary
#A5A372 #728EA5 #8A72A5
monochromatic
#605E3D #858355 #A5A372 #BDBB97 #D5D4BD

Accessibility & contrast

On white

2.60
#A5A372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A5A372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A372
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A372#FFFFFF#000000##000000
##A5A3721.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6F
Deuteranopia (green-blind)
#ACA274
Tritanopia (blue-blind)
#AC9D96
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a372;
/* rgb */ color: rgb(165, 163, 114);
/* oklch */ color: oklch(70.5% 0.067 106.0);
Tailwind
colors: {
  custom: {
    50: '#c0be9b',
    500: '#a5a372',
    950: '#000000',
  },
}
SCSS
$custom: #a5a372;
$custom-light: #c0be9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a372",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 114
  },
  "hsl": {
    "h": 57.647,
    "s": 22.078,
    "l": 54.706
  },
  "oklch": {
    "l": 0.70494,
    "c": 0.06693,
    "h": 106
  },
  "luminance": 0.35409
}

Semantic roles & 50–950 ramp

primary
#A5A372
secondary
#AFAFC4
accent
#6DBF69
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A372

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

Preview Lab → · Contrast checker → · Palette generator →

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