#A2A529#A2A529

#A2A529 is a light, vivid yellow. Relative luminance 0.348; 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#A2A529
RGBrgb(162, 165, 41)
HSLhsl(61, 60%, 40%)
HSVhsv(61, 75%, 65%)
CMYKcmyk(1.8%, 0%, 75.2%, 35.3%)
CIE-LABlab(65.56, -15.87, 59.40)
CIE-LCHlch(65.56, 61.48, 104.96°)
OKLaboklab(69.76% -0.0499 0.1305)
OKLCHoklch(69.76% 0.14 110.9)
XYZxyz(28.7567, 34.7525, 7.2905)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A529 #2C29A5
analogous
#A56A29 #A2A529 #64A529
triadic
#A2A529 #29A2A5 #A529A2
tetradic
#A2A529 #29A56A #2C29A5 #A52964
square
#A2A529 #29A56A #2C29A5 #A52964
split-complementary
#A2A529 #2964A5 #6A29A5
monochromatic
#424311 #72741D #A2A529 #CBCF3D #D8DB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A529#FFFFFF#000000##000000
##A2A5291.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)
#B29D0C
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#AE9A8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a529;
/* rgb */ color: rgb(162, 165, 41);
/* oklch */ color: oklch(69.8% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf6d',
    500: '#a2a529',
    950: '#000000',
  },
}
SCSS
$custom: #a2a529;
$custom-light: #c1bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a529",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 61.452,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69762,
    "c": 0.13975,
    "h": 110.9
  },
  "luminance": 0.34752
}

Semantic roles & 50–950 ramp

primary
#A2A529
secondary
#6A68C2
accent
#44E348
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A529

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

Preview Lab → · Contrast checker → · Palette generator →

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