#A2AD21#A2AD21

#A2AD21 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.5% C 0.152 H 114.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#A2AD21
RGBrgb(162, 173, 33)
HSLhsl(65, 68%, 40%)
HSVhsv(65, 81%, 68%)
CMYKcmyk(6.4%, 0%, 80.9%, 32.2%)
CIE-LABlab(67.78, -20.25, 63.86)
CIE-LCHlch(67.78, 66.99, 107.59°)
OKLaboklab(71.54% -0.0627 0.1386)
OKLCHoklch(71.54% 0.152 114.4)
XYZxyz(30.1193, 37.6789, 7.1247)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AD21 #2C21AD
analogous
#AD7221 #A2AD21 #5CAD21
triadic
#A2AD21 #21A2AD #AD21A2
tetradic
#A2AD21 #21AD72 #2C21AD #AD215C
square
#A2AD21 #21AD72 #2C21AD #AD215C
split-complementary
#A2AD21 #215CAD #7221AD
monochromatic
#42460D #727A17 #A2AD21 #CBD833 #D8E266

Accessibility & contrast

On white

2.46
#A2AD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#A2AD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AD21
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AD21#FFFFFF#000000##000000
##A2AD211.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BAA62F
Tritanopia (blue-blind)
#ADA294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ad21;
/* rgb */ color: rgb(162, 173, 33);
/* oklch */ color: oklch(71.5% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#c1c56a',
    500: '#a2ad21',
    950: '#000000',
  },
}
SCSS
$custom: #a2ad21;
$custom-light: #c1c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ad21",
  "rgb": {
    "r": 162,
    "g": 173,
    "b": 33
  },
  "hsl": {
    "h": 64.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71535,
    "c": 0.15212,
    "h": 114.4
  },
  "luminance": 0.37678
}

Semantic roles & 50–950 ramp

primary
#A2AD21
secondary
#6A62C7
accent
#3DEB4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AD21

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

Preview Lab → · Contrast checker → · Palette generator →

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