#A5A332#A5A332

#A5A332 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.131 H 108.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A5A332
RGBrgb(165, 163, 50)
HSLhsl(59, 53%, 42%)
HSVhsv(59, 70%, 65%)
CMYKcmyk(0%, 1.2%, 69.7%, 35.3%)
CIE-LABlab(65.30, -13.08, 55.97)
CIE-LCHlch(65.30, 57.48, 103.15°)
OKLaboklab(69.64% -0.0414 0.1248)
OKLCHoklch(69.64% 0.131 108.4)
XYZxyz(29.1910, 34.4249, 8.1240)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A332 #3234A5
analogous
#A56A32 #A5A332 #6DA532
triadic
#A5A332 #32A5A3 #A332A5
tetradic
#A5A332 #32A56A #3234A5 #A5326D
square
#A5A332 #32A56A #3234A5 #A5326D
split-complementary
#A5A332 #326DA5 #6A32A5
monochromatic
#474616 #767524 #A5A332 #C9C64C #D7D57B

Accessibility & contrast

On white

2.66
#A5A332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A5A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A332
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A332#FFFFFF#000000##000000
##A5A3321.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#B1988D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a332;
/* rgb */ color: rgb(165, 163, 50);
/* oklch */ color: oklch(69.6% 0.131 108.4);
Tailwind
colors: {
  custom: {
    50: '#c3be71',
    500: '#a5a332',
    950: '#000000',
  },
}
SCSS
$custom: #a5a332;
$custom-light: #c3be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a332",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 58.957,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69635,
    "c": 0.13149,
    "h": 108.4
  },
  "luminance": 0.34424
}

Semantic roles & 50–950 ramp

primary
#A5A332
secondary
#7375BF
accent
#4DDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A332

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

Preview Lab → · Contrast checker → · Palette generator →

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