#A2A524#A2A524

#A2A524 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.142 H 111.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A2A524
RGBrgb(162, 165, 36)
HSLhsl(61, 64%, 39%)
HSVhsv(61, 78%, 65%)
CMYKcmyk(1.8%, 0%, 78.2%, 35.3%)
CIE-LABlab(65.53, -16.08, 60.99)
CIE-LCHlch(65.53, 63.07, 104.77°)
OKLaboklab(69.73% -0.051 0.133)
OKLCHoklch(69.73% 0.142 111)
XYZxyz(28.6749, 34.7198, 6.8598)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A524 #2724A5
analogous
#A56724 #A2A524 #62A524
triadic
#A2A524 #24A2A5 #A524A2
tetradic
#A2A524 #24A567 #2724A5 #A52462
square
#A2A524 #24A567 #2724A5 #A52462
split-complementary
#A2A524 #2462A5 #6724A5
monochromatic
#3F410E #717319 #A2A524 #CFD334 #DBDE66

Accessibility & contrast

On white

2.64
#A2A524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A2A524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A524
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A524#FFFFFF#000000##000000
##A2A5241.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B3A12F
Tritanopia (blue-blind)
#AE9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a524;
/* rgb */ color: rgb(162, 165, 36);
/* oklch */ color: oklch(69.7% 0.142 111.0);
Tailwind
colors: {
  custom: {
    50: '#c1bf6b',
    500: '#a2a524',
    950: '#000000',
  },
}
SCSS
$custom: #a2a524;
$custom-light: #c1bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a524",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 61.395,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69733,
    "c": 0.1424,
    "h": 111
  },
  "luminance": 0.34719
}

Semantic roles & 50–950 ramp

primary
#A2A524
secondary
#6462C3
accent
#41E744
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A524

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

Preview Lab → · Contrast checker → · Palette generator →

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