#A5A533#A5A533

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

Color values

HEX#A5A533
RGBrgb(165, 165, 51)
HSLhsl(60, 53%, 42%)
HSVhsv(60, 69%, 65%)
CMYKcmyk(0%, 0%, 69.1%, 35.3%)
CIE-LABlab(65.86, -14.07, 56.15)
CIE-LCHlch(65.86, 57.88, 104.06°)
OKLaboklab(70.09% -0.0441 0.1253)
OKLCHoklch(70.09% 0.133 109.4)
XYZxyz(29.5707, 35.1495, 8.3582)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A533 #3333A5
analogous
#A56C33 #A5A533 #6CA533
triadic
#A5A533 #33A5A5 #A533A5
tetradic
#A5A533 #33A56C #3333A5 #A5336C
square
#A5A533 #33A56C #3333A5 #A5336C
split-complementary
#A5A533 #336CA5 #6C33A5
monochromatic
#484816 #767625 #A5A533 #C8C84D #D6D67C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A533#FFFFFF#000000##000000
##A5A5331.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)
#B29E21
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a533;
/* rgb */ color: rgb(165, 165, 51);
/* oklch */ color: oklch(70.1% 0.133 109.4);
Tailwind
colors: {
  custom: {
    50: '#c3bf72',
    500: '#a5a533',
    950: '#000000',
  },
}
SCSS
$custom: #a5a533;
$custom-light: #c3bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a533",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70089,
    "c": 0.13287,
    "h": 109.4
  },
  "luminance": 0.35149
}

Semantic roles & 50–950 ramp

primary
#A5A533
secondary
#7575BF
accent
#4CDC4C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A533

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

Preview Lab → · Contrast checker → · Palette generator →

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