#A5A524#A5A524

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

Color values

HEX#A5A524
RGBrgb(165, 165, 36)
HSLhsl(60, 64%, 39%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0%, 78.2%, 35.3%)
CIE-LABlab(65.78, -14.76, 61.30)
CIE-LCHlch(65.78, 63.06, 103.54°)
OKLaboklab(69.99% -0.0474 0.1335)
OKLCHoklch(69.99% 0.142 109.6)
XYZxyz(29.2917, 35.0379, 6.8887)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A524 #2424A5
analogous
#A56524 #A5A524 #65A524
triadic
#A5A524 #24A5A5 #A524A5
tetradic
#A5A524 #24A565 #2424A5 #A52465
square
#A5A524 #24A565 #2424A5 #A52465
split-complementary
#A5A524 #2465A5 #6524A5
monochromatic
#41410E #737319 #A5A524 #D3D334 #DEDE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A524#FFFFFF#000000##000000
##A5A5241.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)
#B39E00
Deuteranopia (green-blind)
#B4A22F
Tritanopia (blue-blind)
#B19A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a524;
/* rgb */ color: rgb(165, 165, 36);
/* oklch */ color: oklch(70.0% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#c3bf6b',
    500: '#a5a524',
    950: '#000000',
  },
}
SCSS
$custom: #a5a524;
$custom-light: #c3bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a524",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69993,
    "c": 0.1417,
    "h": 109.6
  },
  "luminance": 0.35037
}

Semantic roles & 50–950 ramp

primary
#A5A524
secondary
#6262C3
accent
#41E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A524

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

Preview Lab → · Contrast checker → · Palette generator →

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