#A5A529#A5A529

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

Color values

HEX#A5A529
RGBrgb(165, 165, 41)
HSLhsl(60, 60%, 40%)
HSVhsv(60, 75%, 65%)
CMYKcmyk(0%, 0%, 75.2%, 35.3%)
CIE-LABlab(65.80, -14.56, 59.72)
CIE-LCHlch(65.80, 61.47, 103.70°)
OKLaboklab(70.02% -0.0464 0.1311)
OKLCHoklch(70.02% 0.139 109.5)
XYZxyz(29.3735, 35.0706, 7.3194)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A529 #2929A5
analogous
#A56729 #A5A529 #67A529
triadic
#A5A529 #29A5A5 #A529A5
tetradic
#A5A529 #29A567 #2929A5 #A52967
square
#A5A529 #29A567 #2929A5 #A52967
split-complementary
#A5A529 #2967A5 #6729A5
monochromatic
#434311 #74741D #A5A529 #CFCF3D #DBDB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A529#FFFFFF#000000##000000
##A5A5291.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)
#B39E0C
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#B19A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a529;
/* rgb */ color: rgb(165, 165, 41);
/* oklch */ color: oklch(70.0% 0.139 109.5);
Tailwind
colors: {
  custom: {
    50: '#c3bf6d',
    500: '#a5a529',
    950: '#000000',
  },
}
SCSS
$custom: #a5a529;
$custom-light: #c3bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a529",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70021,
    "c": 0.13907,
    "h": 109.5
  },
  "luminance": 0.3507
}

Semantic roles & 50–950 ramp

primary
#A5A529
secondary
#6868C2
accent
#44E344
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A529

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

Preview Lab → · Contrast checker → · Palette generator →

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