#A2AD22#A2AD22

#A2AD22 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#A2AD22
RGBrgb(162, 173, 34)
HSLhsl(65, 67%, 41%)
HSVhsv(65, 80%, 68%)
CMYKcmyk(6.4%, 0%, 80.3%, 32.2%)
CIE-LABlab(67.79, -20.22, 63.59)
CIE-LCHlch(67.79, 66.72, 107.64°)
OKLaboklab(71.54% -0.0626 0.1382)
OKLCHoklch(71.54% 0.152 114.4)
XYZxyz(30.1335, 37.6846, 7.1995)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AD22 #2D22AD
analogous
#AD7222 #A2AD22 #5CAD22
triadic
#A2AD22 #22A2AD #AD22A2
tetradic
#A2AD22 #22AD72 #2D22AD #AD225C
square
#A2AD22 #22AD72 #2D22AD #AD225C
split-complementary
#A2AD22 #225CAD #7222AD
monochromatic
#42470E #727A18 #A2AD22 #CAD735 #D8E168

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AD22#FFFFFF#000000##000000
##A2AD221.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)
#BAA630
Tritanopia (blue-blind)
#ADA294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ad22;
/* rgb */ color: rgb(162, 173, 34);
/* oklch */ color: oklch(71.5% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#c1c56b',
    500: '#a2ad22',
    950: '#000000',
  },
}
SCSS
$custom: #a2ad22;
$custom-light: #c1c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ad22",
  "rgb": {
    "r": 162,
    "g": 173,
    "b": 34
  },
  "hsl": {
    "h": 64.748,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71539,
    "c": 0.15168,
    "h": 114.4
  },
  "luminance": 0.37684
}

Semantic roles & 50–950 ramp

primary
#A2AD22
secondary
#6C64C7
accent
#3EEA4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AD22

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

Preview Lab → · Contrast checker → · Palette generator →

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