#A5A032#A5A032

#A5A032 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.128 H 106.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A5A032
RGBrgb(165, 160, 50)
HSLhsl(57, 53%, 42%)
HSVhsv(57, 70%, 65%)
CMYKcmyk(0%, 3%, 69.7%, 35.3%)
CIE-LABlab(64.46, -11.51, 55.14)
CIE-LCHlch(64.46, 56.33, 101.79°)
OKLaboklab(68.97% -0.037 0.123)
OKLCHoklch(68.97% 0.128 106.8)
XYZxyz(28.6647, 33.3722, 7.9485)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A032 #3237A5
analogous
#A56632 #A5A032 #71A532
triadic
#A5A032 #32A5A0 #A032A5
tetradic
#A5A032 #32A566 #3237A5 #A53271
square
#A5A032 #32A566 #3237A5 #A53271
split-complementary
#A5A032 #3271A5 #6632A5
monochromatic
#474516 #767224 #A5A032 #C9C34C #D7D37B

Accessibility & contrast

On white

2.74
#A5A032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A5A032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A032
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A032#FFFFFF#000000##000000
##A5A0321.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A21
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a032;
/* rgb */ color: rgb(165, 160, 50);
/* oklch */ color: oklch(69.0% 0.128 106.8);
Tailwind
colors: {
  custom: {
    50: '#c3bb71',
    500: '#a5a032',
    950: '#000000',
  },
}
SCSS
$custom: #a5a032;
$custom-light: #c3bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a032",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 57.391,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68968,
    "c": 0.12848,
    "h": 106.8
  },
  "luminance": 0.33371
}

Semantic roles & 50–950 ramp

primary
#A5A032
secondary
#7377BF
accent
#51DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A032

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

Preview Lab → · Contrast checker → · Palette generator →

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