#A2C21C#A2C21C

#A2C21C is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.3% C 0.177 H 121.1°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#A2C21C
RGBrgb(162, 194, 28)
HSLhsl(72, 75%, 44%)
HSVhsv(72, 86%, 76%)
CMYKcmyk(16.5%, 0%, 85.6%, 23.9%)
CIE-LABlab(73.77, -30.61, 70.21)
CIE-LCHlch(73.77, 76.59, 113.56°)
OKLaboklab(76.35% -0.0914 0.1514)
OKLCHoklch(76.35% 0.177 121.1)
XYZxyz(34.4024, 46.3488, 8.2322)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C21C #3C1CC2
analogous
#C28F1C #A2C21C #4FC21C
triadic
#A2C21C #1CA2C2 #C21CA2
tetradic
#A2C21C #1CC28F #3C1CC2 #C21C4F
square
#A2C21C #1CC28F #3C1CC2 #C21C4F
split-complementary
#A2C21C #1C4FC2 #8F1CC2
monochromatic
#49570D #758D14 #A2C21C #C2E239 #D2EA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C21C#FFFFFF#000000##000000
##A2C21C1.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)
#CBB531
Tritanopia (blue-blind)
#ACB7A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c21c;
/* rgb */ color: rgb(162, 194, 28);
/* oklch */ color: oklch(76.3% 0.177 121.1);
Tailwind
colors: {
  custom: {
    50: '#c2d46c',
    500: '#a2c21c',
    950: '#000000',
  },
}
SCSS
$custom: #a2c21c;
$custom-light: #c2d46c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c21c",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 28
  },
  "hsl": {
    "h": 71.566,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7635,
    "c": 0.1769,
    "h": 121.1
  },
  "luminance": 0.46349
}

Semantic roles & 50–950 ramp

primary
#A2C21C
secondary
#7D6AD0
accent
#36F15A
background
#FCFDF6
surface
#F8FAEC
border
#D1D3C7
text
#131408
muted
#82837A

Preview Lab

Preview with #A2C21C

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

Preview Lab → · Contrast checker → · Palette generator →

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