#2AFF04#2AFF04

#2AFF04 is a very light, highly saturated green. Relative luminance 0.720; OKLCH L 86.9% C 0.291 H 141.9°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#2AFF04
RGBrgb(42, 255, 4)
HSLhsl(111, 100%, 51%)
HSVhsv(111, 98%, 100%)
CMYKcmyk(83.5%, 0%, 98.4%, 0%)
CIE-LABlab(87.98, -83.97, 83.17)
CIE-LCHlch(87.98, 118.19, 135.27°)
OKLaboklab(86.92% -0.2286 0.1796)
OKLCHoklch(86.92% 0.291 141.9)
XYZxyz(36.7345, 72.0164, 12.0793)
Luminance0.7202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AFF04 #D904FF
analogous
#A8FF04 #2AFF04 #04FF5B
triadic
#2AFF04 #042AFF #FF042A
tetradic
#2AFF04 #04A8FF #D904FF #FF5B04
square
#2AFF04 #04A8FF #D904FF #FF5B04
split-complementary
#2AFF04 #5B04FF #FF04A8
monochromatic
#158900 #1EC600 #2AFF04 #5EFF41 #92FF7E

Accessibility & contrast

On white

1.36
#2AFF04 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.40
#2AFF04 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AFF04
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AFF04#FFFFFF#000000##000000
##2AFF041.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE600
Deuteranopia (green-blind)
#F0D73B
Tritanopia (blue-blind)
#00F7D9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #2aff04;
/* rgb */ color: rgb(42, 255, 4);
/* oklch */ color: oklch(86.9% 0.291 141.9);
Tailwind
colors: {
  custom: {
    50: '#8eff70',
    500: '#2aff04',
    950: '#000000',
  },
}
SCSS
$custom: #2aff04;
$custom-light: #8eff70;
$custom-dark: #000000;
JSON
{
  "hex": "#2aff04",
  "rgb": {
    "r": 42,
    "g": 255,
    "b": 4
  },
  "hsl": {
    "h": 110.916,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.86916,
    "c": 0.29071,
    "h": 141.9
  },
  "luminance": 0.72021
}

Semantic roles & 50–950 ramp

primary
#2AFF04
secondary
#7C198E
accent
#29FFDF
background
#FCFFFB
surface
#F5FFF1
border
#CFD7CB
text
#0F1809
muted
#80867D

Preview Lab

Preview with #2AFF04

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

Preview Lab → · Contrast checker → · Palette generator →

#2AFF04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva