#A2CA21#A2CA21

#A2CA21 is a light, vivid yellow-green. Relative luminance 0.500; OKLCH L 78.2% C 0.184 H 123.2°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#A2CA21
RGBrgb(162, 202, 33)
HSLhsl(74, 72%, 46%)
HSVhsv(74, 84%, 79%)
CMYKcmyk(19.8%, 0%, 83.7%, 20.8%)
CIE-LABlab(76.09, -34.18, 71.06)
CIE-LCHlch(76.09, 78.86, 115.69°)
OKLaboklab(78.23% -0.1008 0.154)
OKLCHoklch(78.23% 0.184 123.2)
XYZxyz(36.2959, 50.0320, 9.1835)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CA21 #4921CA
analogous
#CA9D21 #A2CA21 #4DCA21
triadic
#A2CA21 #21A2CA #CA21A2
tetradic
#A2CA21 #21CA9D #4921CA #CA214D
square
#A2CA21 #21CA9D #4921CA #CA214D
split-complementary
#A2CA21 #214DCA #9D21CA
monochromatic
#4E6110 #789518 #A2CA21 #BDE147 #D0EA7C

Accessibility & contrast

On white

1.91
#A2CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#A2CA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CA21
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CA21#FFFFFF#000000##000000
##A2CA211.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D1BB35
Tritanopia (blue-blind)
#ABBFAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a2ca21;
/* rgb */ color: rgb(162, 202, 33);
/* oklch */ color: oklch(78.2% 0.184 123.2);
Tailwind
colors: {
  custom: {
    50: '#c2da6f',
    500: '#a2ca21',
    950: '#000000',
  },
}
SCSS
$custom: #a2ca21;
$custom-light: #c2da6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ca21",
  "rgb": {
    "r": 162,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 74.201,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78229,
    "c": 0.18411,
    "h": 123.2
  },
  "luminance": 0.50032
}

Semantic roles & 50–950 ramp

primary
#A2CA21
secondary
#35246C
accent
#39EF64
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#131408
muted
#82837D

Preview Lab

Preview with #A2CA21

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

Preview Lab → · Contrast checker → · Palette generator →

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