#A2C22D#A2C22D

#A2C22D is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.4% C 0.170 H 121.5°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#A2C22D
RGBrgb(162, 194, 45)
HSLhsl(73, 62%, 47%)
HSVhsv(73, 77%, 76%)
CMYKcmyk(16.5%, 0%, 76.8%, 23.9%)
CIE-LABlab(73.84, -30.00, 65.81)
CIE-LCHlch(73.84, 72.33, 114.51°)
OKLaboklab(76.43% -0.0886 0.1448)
OKLCHoklch(76.43% 0.17 121.5)
XYZxyz(34.6663, 46.4544, 9.6224)
Luminance0.4645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C22D #4D2DC2
analogous
#C2982D #A2C22D #58C22D
triadic
#A2C22D #2DA2C2 #C22DA2
tetradic
#A2C22D #2DC298 #4D2DC2 #C22D58
square
#A2C22D #2DC298 #4D2DC2 #C22D58
split-complementary
#A2C22D #2D58C2 #982DC2
monochromatic
#4F5F16 #799021 #A2C22D #BBD755 #CFE386

Accessibility & contrast

On white

2.04
#A2C22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#A2C22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C22D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C22D#FFFFFF#000000##000000
##A2C22D1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB601
Deuteranopia (green-blind)
#CAB63B
Tritanopia (blue-blind)
#ABB8A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c22d;
/* rgb */ color: rgb(162, 194, 45);
/* oklch */ color: oklch(76.4% 0.170 121.5);
Tailwind
colors: {
  custom: {
    50: '#c1d472',
    500: '#a2c22d',
    950: '#000000',
  },
}
SCSS
$custom: #a2c22d;
$custom-light: #c1d472;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c22d",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 72.886,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76426,
    "c": 0.16976,
    "h": 121.5
  },
  "luminance": 0.46454
}

Semantic roles & 50–950 ramp

primary
#A2C22D
secondary
#8F7ECD
accent
#42E565
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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