#2AB042#2AB042

#2AB042 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.4% C 0.188 H 145.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2AB042
RGBrgb(42, 176, 66)
HSLhsl(131, 61%, 43%)
HSVhsv(131, 76%, 69%)
CMYKcmyk(76.1%, 0%, 62.5%, 31%)
CIE-LABlab(63.29, -57.52, 45.29)
CIE-LCHlch(63.29, 73.21, 141.78°)
OKLaboklab(66.45% -0.1551 0.1061)
OKLCHoklch(66.45% 0.188 145.6)
XYZxyz(17.4623, 31.9342, 10.3968)
Luminance0.3194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB042 #B02A98
analogous
#55B02A #2AB042 #2AB085
triadic
#2AB042 #422AB0 #B0422A
tetradic
#2AB042 #2A55B0 #B02A98 #B0852A
square
#2AB042 #2A55B0 #B02A98 #B0852A
split-complementary
#2AB042 #852AB0 #B02A55
monochromatic
#124D1D #1E7F2F #2AB042 #45D35E #76DE89

Accessibility & contrast

On white

2.84
#2AB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#2AB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB042
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB042#FFFFFF#000000##000000
##2AB0421.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A036
Deuteranopia (green-blind)
#A4954B
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2ab042;
/* rgb */ color: rgb(42, 176, 66);
/* oklch */ color: oklch(66.4% 0.188 145.6);
Tailwind
colors: {
  custom: {
    50: '#79c97a',
    500: '#2ab042',
    950: '#000000',
  },
}
SCSS
$custom: #2ab042;
$custom-light: #79c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab042",
  "rgb": {
    "r": 42,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 130.746,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.18788,
    "h": 145.6
  },
  "luminance": 0.31936
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB042

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

Preview Lab → · Contrast checker → · Palette generator →

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