#2AB42F#2AB42F

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

Color values

HEX#2AB42F
RGBrgb(42, 180, 47)
HSLhsl(122, 62%, 44%)
HSVhsv(122, 77%, 71%)
CMYKcmyk(76.7%, 0%, 73.9%, 29.4%)
CIE-LABlab(64.43, -60.70, 54.27)
CIE-LCHlch(64.43, 81.42, 138.20°)
OKLaboklab(67.35% -0.1645 0.1228)
OKLCHoklch(67.35% 0.205 143.3)
XYZxyz(17.7881, 33.3379, 8.1862)
Luminance0.3334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB42F #B42AAF
analogous
#6AB42A #2AB42F #2AB474
triadic
#2AB42F #2F2AB4 #B42F2A
tetradic
#2AB42F #2A6AB4 #B42AAF #B4742A
square
#2AB42F #2A6AB4 #B42AAF #B4742A
split-complementary
#2AB42F #742AB4 #B42A6A
monochromatic
#135115 #1E8222 #2AB42F #47D44C #79E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB42F#FFFFFF#000000##000000
##2AB42F1.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)
#B8A316
Deuteranopia (green-blind)
#A9983D
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab42f;
/* rgb */ color: rgb(42, 180, 47);
/* oklch */ color: oklch(67.3% 0.205 143.3);
Tailwind
colors: {
  custom: {
    50: '#7bcc70',
    500: '#2ab42f',
    950: '#000000',
  },
}
SCSS
$custom: #2ab42f;
$custom-light: #7bcc70;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab42f",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 122.174,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67349,
    "c": 0.20532,
    "h": 143.3
  },
  "luminance": 0.3334
}

Semantic roles & 50–950 ramp

primary
#2AB42F
secondary
#C872C4
accent
#43DFE5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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