#2AB42C#2AB42C

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

Color values

HEX#2AB42C
RGBrgb(42, 180, 44)
HSLhsl(121, 62%, 44%)
HSVhsv(121, 77%, 71%)
CMYKcmyk(76.7%, 0%, 75.6%, 29.4%)
CIE-LABlab(64.41, -60.93, 55.31)
CIE-LCHlch(64.41, 82.29, 137.77°)
OKLaboklab(67.33% -0.1653 0.1246)
OKLCHoklch(67.33% 0.207 143)
XYZxyz(17.7296, 33.3145, 7.8783)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB42C #B42AB2
analogous
#6DB42A #2AB42C #2AB471
triadic
#2AB42C #2C2AB4 #B42C2A
tetradic
#2AB42C #2A6DB4 #B42AB2 #B4712A
square
#2AB42C #2A6DB4 #B42AB2 #B4712A
split-complementary
#2AB42C #712AB4 #B42A6D
monochromatic
#135114 #1E8220 #2AB42C #47D449 #79E07A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB42C#FFFFFF#000000##000000
##2AB42C1.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)
#B8A30E
Deuteranopia (green-blind)
#A9983B
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab42c;
/* rgb */ color: rgb(42, 180, 44);
/* oklch */ color: oklch(67.3% 0.207 143.0);
Tailwind
colors: {
  custom: {
    50: '#7bcc6f',
    500: '#2ab42c',
    950: '#000000',
  },
}
SCSS
$custom: #2ab42c;
$custom-light: #7bcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab42c",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 120.87,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.207,
    "h": 143
  },
  "luminance": 0.33317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB42C

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

Preview Lab → · Contrast checker → · Palette generator →

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