#04FF2A#04FF2A

#04FF2A is a very light, highly saturated green. Relative luminance 0.717; OKLCH L 86.8% C 0.287 H 143.3°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#04FF2A
RGBrgb(4, 255, 42)
HSLhsl(129, 100%, 51%)
HSVhsv(129, 98%, 100%)
CMYKcmyk(98.4%, 0%, 83.5%, 0%)
CIE-LABlab(87.83, -85.02, 77.78)
CIE-LCHlch(87.83, 115.23, 137.55°)
OKLaboklab(86.75% -0.23 0.1714)
OKLCHoklch(86.75% 0.287 143.3)
XYZxyz(36.2255, 71.7082, 14.1218)
Luminance0.7171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04FF2A #FF04D9
analogous
#5BFF04 #04FF2A #04FFA8
triadic
#04FF2A #2A04FF #FF2A04
tetradic
#04FF2A #045BFF #FF04D9 #FFA804
square
#04FF2A #045BFF #FF04D9 #FFA804
split-complementary
#04FF2A #A804FF #FF045B
monochromatic
#008915 #00C61E #04FF2A #41FF5E #7EFF92

Accessibility & contrast

On white

1.37
#04FF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#04FF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #04FF2A
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04FF2A#FFFFFF#000000##000000
##04FF2A1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE600
Deuteranopia (green-blind)
#EED648
Tritanopia (blue-blind)
#00F7DA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #04ff2a;
/* rgb */ color: rgb(4, 255, 42);
/* oklch */ color: oklch(86.8% 0.287 143.3);
Tailwind
colors: {
  custom: {
    50: '#88ff78',
    500: '#04ff2a',
    950: '#000000',
  },
}
SCSS
$custom: #04ff2a;
$custom-light: #88ff78;
$custom-dark: #000000;
JSON
{
  "hex": "#04ff2a",
  "rgb": {
    "r": 4,
    "g": 255,
    "b": 42
  },
  "hsl": {
    "h": 129.084,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.86751,
    "c": 0.28685,
    "h": 143.3
  },
  "luminance": 0.71713
}

Semantic roles & 50–950 ramp

primary
#04FF2A
secondary
#8E197C
accent
#29DFFF
background
#FCFFFB
surface
#F5FFF2
border
#CFD7CC
text
#0E180A
muted
#7F867D

Preview Lab

Preview with #04FF2A

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

Preview Lab → · Contrast checker → · Palette generator →

#04FF2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva