#A5A528#A5A528

#A5A528 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.140 H 109.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A5A528
RGBrgb(165, 165, 40)
HSLhsl(60, 61%, 40%)
HSVhsv(60, 76%, 65%)
CMYKcmyk(0%, 0%, 75.8%, 35.3%)
CIE-LABlab(65.80, -14.60, 60.05)
CIE-LCHlch(65.80, 61.80, 103.66°)
OKLaboklab(70.02% -0.0467 0.1316)
OKLCHoklch(70.02% 0.14 109.5)
XYZxyz(29.3563, 35.0637, 7.2287)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A528 #2828A5
analogous
#A56628 #A5A528 #66A528
triadic
#A5A528 #28A5A5 #A528A5
tetradic
#A5A528 #28A566 #2828A5 #A52866
square
#A5A528 #28A566 #2828A5 #A52866
split-complementary
#A5A528 #2866A5 #6628A5
monochromatic
#424210 #74741C #A5A528 #CFCF3B #DBDB6C

Accessibility & contrast

On white

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

On black

8.01
#A5A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A528
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A528#FFFFFF#000000##000000
##A5A5281.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#B19A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a528;
/* rgb */ color: rgb(165, 165, 40);
/* oklch */ color: oklch(70.0% 0.140 109.5);
Tailwind
colors: {
  custom: {
    50: '#c3bf6c',
    500: '#a5a528',
    950: '#000000',
  },
}
SCSS
$custom: #a5a528;
$custom-light: #c3bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a528",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70015,
    "c": 0.13962,
    "h": 109.5
  },
  "luminance": 0.35063
}

Semantic roles & 50–950 ramp

primary
#A5A528
secondary
#6767C2
accent
#44E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A528

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

Preview Lab → · Contrast checker → · Palette generator →

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