#2AB142#2AB142

#2AB142 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.189 H 145.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2AB142
RGBrgb(42, 177, 66)
HSLhsl(131, 62%, 43%)
HSVhsv(131, 76%, 69%)
CMYKcmyk(76.3%, 0%, 62.7%, 30.6%)
CIE-LABlab(63.61, -57.85, 45.66)
CIE-LCHlch(63.61, 73.70, 141.72°)
OKLaboklab(66.72% -0.156 0.1069)
OKLCHoklch(66.72% 0.189 145.6)
XYZxyz(17.6591, 32.3278, 10.4624)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB142 #B12A99
analogous
#55B12A #2AB142 #2AB186
triadic
#2AB142 #422AB1 #B1422A
tetradic
#2AB142 #2A55B1 #B12A99 #B1862A
square
#2AB142 #2A55B1 #B12A99 #B1862A
split-complementary
#2AB142 #862AB1 #B12A55
monochromatic
#134E1D #1E8030 #2AB142 #45D35E #77DF89

Accessibility & contrast

On white

2.81
#2AB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#2AB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB142
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB142#FFFFFF#000000##000000
##2AB1421.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A035
Deuteranopia (green-blind)
#A5964C
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab142;
/* rgb */ color: rgb(42, 177, 66);
/* oklch */ color: oklch(66.7% 0.189 145.6);
Tailwind
colors: {
  custom: {
    50: '#7ac97a',
    500: '#2ab142',
    950: '#000000',
  },
}
SCSS
$custom: #2ab142;
$custom-light: #7ac97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab142",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 130.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66717,
    "c": 0.18908,
    "h": 145.6
  },
  "luminance": 0.3233
}

Semantic roles & 50–950 ramp

primary
#2AB142
secondary
#C670B7
accent
#43C8E5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB142

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

Preview Lab → · Contrast checker → · Palette generator →

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