#A2C21E#A2C21E

#A2C21E is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.4% C 0.176 H 121.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#A2C21E
RGBrgb(162, 194, 30)
HSLhsl(72, 73%, 44%)
HSVhsv(72, 85%, 76%)
CMYKcmyk(16.5%, 0%, 84.5%, 23.9%)
CIE-LABlab(73.78, -30.56, 69.78)
CIE-LCHlch(73.78, 76.17, 113.65°)
OKLaboklab(76.36% -0.0912 0.1508)
OKLCHoklch(76.36% 0.176 121.2)
XYZxyz(34.4271, 46.3587, 8.3625)
Luminance0.4636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C21E #3E1EC2
analogous
#C2901E #A2C21E #50C21E
triadic
#A2C21E #1EA2C2 #C21EA2
tetradic
#A2C21E #1EC290 #3E1EC2 #C21E50
square
#A2C21E #1EC290 #3E1EC2 #C21E50
split-complementary
#A2C21E #1E50C2 #901EC2
monochromatic
#49580E #768D16 #A2C21E #C1E13C #D2E971

Accessibility & contrast

On white

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

On black

10.27
#A2C21E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C21E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C21E#FFFFFF#000000##000000
##A2C21E1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CBB532
Tritanopia (blue-blind)
#ACB7A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c21e;
/* rgb */ color: rgb(162, 194, 30);
/* oklch */ color: oklch(76.4% 0.176 121.2);
Tailwind
colors: {
  custom: {
    50: '#c2d46c',
    500: '#a2c21e',
    950: '#000000',
  },
}
SCSS
$custom: #a2c21e;
$custom-light: #c2d46c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c21e",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 30
  },
  "hsl": {
    "h": 71.707,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.76357,
    "c": 0.17622,
    "h": 121.2
  },
  "luminance": 0.46359
}

Semantic roles & 50–950 ramp

primary
#A2C21E
secondary
#806CD0
accent
#38F05C
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A2C21E

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

Preview Lab → · Contrast checker → · Palette generator →

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