#A2A522#A2A522

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

Color values

HEX#A2A522
RGBrgb(162, 165, 34)
HSLhsl(61, 66%, 39%)
HSVhsv(61, 79%, 65%)
CMYKcmyk(1.8%, 0%, 79.4%, 35.3%)
CIE-LABlab(65.52, -16.15, 61.58)
CIE-LCHlch(65.52, 63.66, 104.70°)
OKLaboklab(69.72% -0.0513 0.1339)
OKLCHoklch(69.72% 0.143 111)
XYZxyz(28.6452, 34.7079, 6.7034)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A522 #2522A5
analogous
#A56722 #A2A522 #61A522
triadic
#A2A522 #22A2A5 #A522A2
tetradic
#A2A522 #22A567 #2522A5 #A52261
square
#A2A522 #22A567 #2522A5 #A52261
split-complementary
#A2A522 #2261A5 #6722A5
monochromatic
#3E400D #707218 #A2A522 #D1D430 #DCDF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A522#FFFFFF#000000##000000
##A2A5221.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)
#B3A12E
Tritanopia (blue-blind)
#AE9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a522;
/* rgb */ color: rgb(162, 165, 34);
/* oklch */ color: oklch(69.7% 0.143 111.0);
Tailwind
colors: {
  custom: {
    50: '#c1bf6a',
    500: '#a2a522',
    950: '#000000',
  },
}
SCSS
$custom: #a2a522;
$custom-light: #c1bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a522",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 61.374,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.14337,
    "h": 111
  },
  "luminance": 0.34707
}

Semantic roles & 50–950 ramp

primary
#A2A522
secondary
#615FC4
accent
#3FE943
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A522

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

Preview Lab → · Contrast checker → · Palette generator →

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