#2AB42D#2AB42D

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

Color values

HEX#2AB42D
RGBrgb(42, 180, 45)
HSLhsl(121, 62%, 44%)
HSVhsv(121, 77%, 71%)
CMYKcmyk(76.7%, 0%, 75%, 29.4%)
CIE-LABlab(64.42, -60.85, 54.96)
CIE-LCHlch(64.42, 82.00, 137.91°)
OKLaboklab(67.33% -0.165 0.124)
OKLCHoklch(67.33% 0.206 143.1)
XYZxyz(17.7486, 33.3221, 7.9785)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB42D #B42AB1
analogous
#6CB42A #2AB42D #2AB472
triadic
#2AB42D #2D2AB4 #B42D2A
tetradic
#2AB42D #2A6CB4 #B42AB1 #B4722A
square
#2AB42D #2A6CB4 #B42AB1 #B4722A
split-complementary
#2AB42D #722AB4 #B42A6C
monochromatic
#135114 #1E8221 #2AB42D #47D44A #79E07B

Accessibility & contrast

On white

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

On black

7.66
#2AB42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB42D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB42D#FFFFFF#000000##000000
##2AB42D1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2ab42d;
/* rgb */ color: rgb(42, 180, 45);
/* oklch */ color: oklch(67.3% 0.206 143.1);
Tailwind
colors: {
  custom: {
    50: '#7bcc6f',
    500: '#2ab42d',
    950: '#000000',
  },
}
SCSS
$custom: #2ab42d;
$custom-light: #7bcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab42d",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 121.304,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67335,
    "c": 0.20644,
    "h": 143.1
  },
  "luminance": 0.33324
}

Semantic roles & 50–950 ramp

primary
#2AB42D
secondary
#C872C6
accent
#43E2E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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