#2AB42E#2AB42E

#2AB42E is a light, highly saturated green. Relative luminance 0.333; OKLCH L 67.3% C 0.206 H 143.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2AB42E
RGBrgb(42, 180, 46)
HSLhsl(122, 62%, 44%)
HSVhsv(122, 77%, 71%)
CMYKcmyk(76.7%, 0%, 74.4%, 29.4%)
CIE-LABlab(64.43, -60.78, 54.62)
CIE-LCHlch(64.43, 81.71, 138.05°)
OKLaboklab(67.34% -0.1648 0.1234)
OKLCHoklch(67.34% 0.206 143.2)
XYZxyz(17.7681, 33.3299, 8.0811)
Luminance0.3333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB42E #B42AB0
analogous
#6BB42A #2AB42E #2AB473
triadic
#2AB42E #2E2AB4 #B42E2A
tetradic
#2AB42E #2A6BB4 #B42AB0 #B4732A
square
#2AB42E #2A6BB4 #B42AB0 #B4732A
split-complementary
#2AB42E #732AB4 #B42A6B
monochromatic
#135115 #1E8221 #2AB42E #47D44B #79E07C

Accessibility & contrast

On white

2.74
#2AB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#2AB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB42E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB42E#FFFFFF#000000##000000
##2AB42E1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A313
Deuteranopia (green-blind)
#A9983C
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab42e;
/* rgb */ color: rgb(42, 180, 46);
/* oklch */ color: oklch(67.3% 0.206 143.2);
Tailwind
colors: {
  custom: {
    50: '#7bcc70',
    500: '#2ab42e',
    950: '#000000',
  },
}
SCSS
$custom: #2ab42e;
$custom-light: #7bcc70;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab42e",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 121.739,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67342,
    "c": 0.20589,
    "h": 143.2
  },
  "luminance": 0.33332
}

Semantic roles & 50–950 ramp

primary
#2AB42E
secondary
#C872C5
accent
#43E1E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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