#A2AA21#A2AA21

#A2AA21 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.149 H 113.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A2AA21
RGBrgb(162, 170, 33)
HSLhsl(64, 67%, 40%)
HSVhsv(64, 81%, 67%)
CMYKcmyk(4.7%, 0%, 80.6%, 33.3%)
CIE-LABlab(66.93, -18.74, 63.11)
CIE-LCHlch(66.93, 65.84, 106.54°)
OKLaboklab(70.85% -0.0586 0.137)
OKLCHoklch(70.85% 0.149 113.2)
XYZxyz(29.5505, 36.5413, 6.9351)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA21 #2921AA
analogous
#AA6E21 #A2AA21 #5DAA21
triadic
#A2AA21 #21A2AA #AA21A2
tetradic
#A2AA21 #21AA6E #2921AA #AA215D
square
#A2AA21 #21AA6E #2921AA #AA215D
split-complementary
#A2AA21 #215DAA #6E21AA
monochromatic
#40430D #717717 #A2AA21 #CDD731 #DAE164

Accessibility & contrast

On white

2.53
#A2AA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A2AA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA21
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA21#FFFFFF#000000##000000
##A2AA211.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#AD9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa21;
/* rgb */ color: rgb(162, 170, 33);
/* oklch */ color: oklch(70.9% 0.149 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c36a',
    500: '#a2aa21',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa21;
$custom-light: #c1c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa21",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 63.504,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70851,
    "c": 0.14897,
    "h": 113.2
  },
  "luminance": 0.36541
}

Semantic roles & 50–950 ramp

primary
#A2AA21
secondary
#6761C6
accent
#3DEA48
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AA21

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

Preview Lab → · Contrast checker → · Palette generator →

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