#A2A528#A2A528

#A2A528 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.140 H 110.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A2A528
RGBrgb(162, 165, 40)
HSLhsl(61, 61%, 40%)
HSVhsv(61, 76%, 65%)
CMYKcmyk(1.8%, 0%, 75.8%, 35.3%)
CIE-LABlab(65.55, -15.91, 59.73)
CIE-LCHlch(65.55, 61.81, 104.92°)
OKLaboklab(69.76% -0.0502 0.131)
OKLCHoklch(69.76% 0.14 110.9)
XYZxyz(28.7394, 34.7456, 7.1997)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A528 #2B28A5
analogous
#A56928 #A2A528 #63A528
triadic
#A2A528 #28A2A5 #A528A2
tetradic
#A2A528 #28A569 #2B28A5 #A52863
square
#A2A528 #28A569 #2B28A5 #A52863
split-complementary
#A2A528 #2863A5 #6928A5
monochromatic
#414210 #72741C #A2A528 #CCCF3B #D9DB6C

Accessibility & contrast

On white

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

On black

7.95
#A2A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A528
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A528#FFFFFF#000000##000000
##A2A5281.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a528;
/* rgb */ color: rgb(162, 165, 40);
/* oklch */ color: oklch(69.8% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf6c',
    500: '#a2a528',
    950: '#000000',
  },
}
SCSS
$custom: #a2a528;
$custom-light: #c1bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a528",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 61.44,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69756,
    "c": 0.1403,
    "h": 110.9
  },
  "luminance": 0.34745
}

Semantic roles & 50–950 ramp

primary
#A2A528
secondary
#6967C2
accent
#44E448
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A528

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

Preview Lab → · Contrast checker → · Palette generator →

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