#A2FE02#A2FE02

#A2FE02 is a very light, highly saturated yellow-green. Relative luminance 0.786; OKLCH L 90.4% C 0.247 H 131.1°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#A2FE02
RGBrgb(162, 254, 2)
HSLhsl(82, 99%, 50%)
HSVhsv(82, 99%, 100%)
CMYKcmyk(36.2%, 0%, 99.2%, 0.4%)
CIE-LABlab(91.04, -56.80, 87.17)
CIE-LCHlch(91.04, 104.04, 123.09°)
OKLaboklab(90.38% -0.1625 0.1862)
OKLCHoklch(90.38% 0.247 131.1)
XYZxyz(50.3527, 78.5673, 12.5694)
Luminance0.7857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2FE02 #5E02FE
analogous
#FEDC02 #A2FE02 #24FE02
triadic
#A2FE02 #02A2FE #FE02A2
tetradic
#A2FE02 #02FEDC #5E02FE #FE0224
square
#A2FE02 #02FEDC #5E02FE #FE0224
split-complementary
#A2FE02 #0224FE #DC02FE
monochromatic
#558501 #7BC201 #A2FE02 #B8FE3F #CFFE7C

Accessibility & contrast

On white

1.26
#A2FE02 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#A2FE02 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2FE02
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2FE02#FFFFFF#000000##000000
##A2FE021.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA00
Deuteranopia (green-blind)
#FDE338
Tritanopia (blue-blind)
#A5F3D8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #a2fe02;
/* rgb */ color: rgb(162, 254, 2);
/* oklch */ color: oklch(90.4% 0.247 131.1);
Tailwind
colors: {
  custom: {
    50: '#c5ff71',
    500: '#a2fe02',
    950: '#000000',
  },
}
SCSS
$custom: #a2fe02;
$custom-light: #c5ff71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2fe02",
  "rgb": {
    "r": 162,
    "g": 254,
    "b": 2
  },
  "hsl": {
    "h": 81.905,
    "s": 99.213,
    "l": 50.196
  },
  "oklch": {
    "l": 0.90381,
    "c": 0.24712,
    "h": 131.1
  },
  "luminance": 0.78569
}

Semantic roles & 50–950 ramp

primary
#A2FE02
secondary
#43198B
accent
#29FF77
background
#FEFFFB
surface
#FBFFF1
border
#D4D7CB
text
#141809
muted
#83867D

Preview Lab

Preview with #A2FE02

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

Preview Lab → · Contrast checker → · Palette generator →

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