#A2AA20#A2AA20

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

Color values

HEX#A2AA20
RGBrgb(162, 170, 32)
HSLhsl(63, 68%, 40%)
HSVhsv(63, 81%, 67%)
CMYKcmyk(4.7%, 0%, 81.2%, 33.3%)
CIE-LABlab(66.93, -18.77, 63.39)
CIE-LCHlch(66.93, 66.11, 106.50°)
OKLaboklab(70.85% -0.0587 0.1374)
OKLCHoklch(70.85% 0.149 113.1)
XYZxyz(29.5367, 36.5358, 6.8624)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA20 #2820AA
analogous
#AA6D20 #A2AA20 #5DAA20
triadic
#A2AA20 #20A2AA #AA20A2
tetradic
#A2AA20 #20AA6D #2820AA #AA205D
square
#A2AA20 #20AA6D #2820AA #AA205D
split-complementary
#A2AA20 #205DAA #6D20AA
monochromatic
#40430D #717616 #A2AA20 #CED82F #DAE263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AA20#FFFFFF#000000##000000
##A2AA201.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: #a2aa20;
/* rgb */ color: rgb(162, 170, 32);
/* oklch */ color: oklch(70.8% 0.149 113.1);
Tailwind
colors: {
  custom: {
    50: '#c1c36a',
    500: '#a2aa20',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa20;
$custom-light: #c1c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa20",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 63.478,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70847,
    "c": 0.14941,
    "h": 113.1
  },
  "luminance": 0.36535
}

Semantic roles & 50–950 ramp

primary
#A2AA20
secondary
#655FC7
accent
#3DEB47
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AA20

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

Preview Lab → · Contrast checker → · Palette generator →

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