#A5A532#A5A532

#A5A532 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.134 H 109.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A5A532
RGBrgb(165, 165, 50)
HSLhsl(60, 53%, 42%)
HSVhsv(60, 70%, 65%)
CMYKcmyk(0%, 0%, 69.7%, 35.3%)
CIE-LABlab(65.86, -14.12, 56.53)
CIE-LCHlch(65.86, 58.26, 104.02°)
OKLaboklab(70.08% -0.0444 0.126)
OKLCHoklch(70.08% 0.134 109.4)
XYZxyz(29.5489, 35.1408, 8.2433)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A532 #3232A5
analogous
#A56C32 #A5A532 #6CA532
triadic
#A5A532 #32A5A5 #A532A5
tetradic
#A5A532 #32A56C #3232A5 #A5326C
square
#A5A532 #32A56C #3232A5 #A5326C
split-complementary
#A5A532 #326CA5 #6C32A5
monochromatic
#474716 #767624 #A5A532 #C9C94C #D7D77B

Accessibility & contrast

On white

2.62
#A5A532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A5A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A532
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A532#FFFFFF#000000##000000
##A5A5321.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1F
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#B19A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a532;
/* rgb */ color: rgb(165, 165, 50);
/* oklch */ color: oklch(70.1% 0.134 109.4);
Tailwind
colors: {
  custom: {
    50: '#c3bf71',
    500: '#a5a532',
    950: '#000000',
  },
}
SCSS
$custom: #a5a532;
$custom-light: #c3bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a532",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.13354,
    "h": 109.4
  },
  "luminance": 0.3514
}

Semantic roles & 50–950 ramp

primary
#A5A532
secondary
#7373BF
accent
#4BDD4B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A532

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

Preview Lab → · Contrast checker → · Palette generator →

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