#2AB42B#2AB42B

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

Color values

HEX#2AB42B
RGBrgb(42, 180, 43)
HSLhsl(120, 62%, 44%)
HSVhsv(120, 77%, 71%)
CMYKcmyk(76.7%, 0%, 76.1%, 29.4%)
CIE-LABlab(64.41, -61.00, 55.64)
CIE-LCHlch(64.41, 82.57, 137.63°)
OKLaboklab(67.32% -0.1655 0.1252)
OKLCHoklch(67.32% 0.208 142.9)
XYZxyz(17.7110, 33.3071, 7.7805)
Luminance0.3331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB42B #B42AB3
analogous
#6EB42A #2AB42B #2AB470
triadic
#2AB42B #2B2AB4 #B42B2A
tetradic
#2AB42B #2A6EB4 #B42AB3 #B4702A
square
#2AB42B #2A6EB4 #B42AB3 #B4702A
split-complementary
#2AB42B #702AB4 #B42A6E
monochromatic
#135113 #1E821F #2AB42B #47D448 #79E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB42B#FFFFFF#000000##000000
##2AB42B1.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)
#B8A30B
Deuteranopia (green-blind)
#A9983A
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab42b;
/* rgb */ color: rgb(42, 180, 43);
/* oklch */ color: oklch(67.3% 0.208 142.9);
Tailwind
colors: {
  custom: {
    50: '#7bcc6e',
    500: '#2ab42b',
    950: '#000000',
  },
}
SCSS
$custom: #2ab42b;
$custom-light: #7bcc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab42b",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 120.435,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67321,
    "c": 0.20753,
    "h": 142.9
  },
  "luminance": 0.33309
}

Semantic roles & 50–950 ramp

primary
#2AB42B
secondary
#C872C7
accent
#43E4E5
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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