#A5A574#A5A574

#A5A574 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.067 H 108.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A5A574
RGBrgb(165, 165, 116)
HSLhsl(60, 21%, 55%)
HSVhsv(60, 30%, 65%)
CMYKcmyk(0%, 0%, 29.7%, 35.3%)
CIE-LABlab(66.65, -7.97, 25.48)
CIE-LCHlch(66.65, 26.70, 107.36°)
OKLaboklab(70.97% -0.0207 0.0637)
OKLCHoklch(70.97% 0.067 108)
XYZxyz(32.1247, 36.1711, 21.8090)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A574 #7474A5
analogous
#A58C74 #A5A574 #8CA574
triadic
#A5A574 #74A5A5 #A574A5
tetradic
#A5A574 #74A58C #7474A5 #A5748C
square
#A5A574 #74A58C #7474A5 #A5748C
split-complementary
#A5A574 #748CA5 #8C74A5
monochromatic
#60603E #858556 #A5A574 #BDBD99 #D5D5BE

Accessibility & contrast

On white

2.55
#A5A574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A5A574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A574
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A574#FFFFFF#000000##000000
##A5A5741.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA171
Deuteranopia (green-blind)
#AEA376
Tritanopia (blue-blind)
#AC9F98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a574;
/* rgb */ color: rgb(165, 165, 116);
/* oklch */ color: oklch(71.0% 0.067 108.0);
Tailwind
colors: {
  custom: {
    50: '#c0bf9c',
    500: '#a5a574',
    950: '#000000',
  },
}
SCSS
$custom: #a5a574;
$custom-light: #c0bf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a574",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 21.397,
    "l": 55.098
  },
  "oklch": {
    "l": 0.70969,
    "c": 0.06693,
    "h": 108
  },
  "luminance": 0.36171
}

Semantic roles & 50–950 ramp

primary
#A5A574
secondary
#B0B0C5
accent
#6ABE6A
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A574

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

Preview Lab → · Contrast checker → · Palette generator →

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