#2AF702#2AF702

#2AF702 is a very light, highly saturated green. Relative luminance 0.670; OKLCH L 84.9% C 0.284 H 141.8°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#2AF702
RGBrgb(42, 247, 2)
HSLhsl(110, 98%, 49%)
HSVhsv(110, 99%, 97%)
CMYKcmyk(83%, 0%, 99.2%, 3.1%)
CIE-LABlab(85.51, -81.83, 81.34)
CIE-LCHlch(85.51, 115.38, 135.17°)
OKLaboklab(84.86% -0.2229 0.1755)
OKLCHoklch(84.86% 0.284 141.8)
XYZxyz(34.2245, 67.0139, 11.1886)
Luminance0.6702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AF702 #CF02F7
analogous
#A5F702 #2AF702 #02F755
triadic
#2AF702 #022AF7 #F7022A
tetradic
#2AF702 #02A5F7 #CF02F7 #F75502
square
#2AF702 #02A5F7 #CF02F7 #F75502
split-complementary
#2AF702 #5502F7 #F702A5
monochromatic
#157E01 #20BA02 #2AF702 #59FD39 #8CFE76

Accessibility & contrast

On white

1.46
#2AF702 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#2AF702 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AF702
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AF702#FFFFFF#000000##000000
##2AF7021.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDDE00
Deuteranopia (green-blind)
#E8D039
Tritanopia (blue-blind)
#00EFD2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #2af702;
/* rgb */ color: rgb(42, 247, 2);
/* oklch */ color: oklch(84.9% 0.284 141.8);
Tailwind
colors: {
  custom: {
    50: '#8cfb6e',
    500: '#2af702',
    950: '#000000',
  },
}
SCSS
$custom: #2af702;
$custom-light: #8cfb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2af702",
  "rgb": {
    "r": 42,
    "g": 247,
    "b": 2
  },
  "hsl": {
    "h": 110.204,
    "s": 98.394,
    "l": 48.824
  },
  "oklch": {
    "l": 0.8486,
    "c": 0.2837,
    "h": 141.8
  },
  "luminance": 0.67018
}

Semantic roles & 50–950 ramp

primary
#2AF702
secondary
#731885
accent
#29FFDC
background
#FCFFFB
surface
#F5FFF1
border
#CFD7CB
text
#0F1809
muted
#80867D

Preview Lab

Preview with #2AF702

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

Preview Lab → · Contrast checker → · Palette generator →

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