#2AB152#2AB152

#2AB152 is a light, vivid green. Relative luminance 0.325; OKLCH L 66.9% C 0.176 H 148.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2AB152
RGBrgb(42, 177, 82)
HSLhsl(138, 62%, 43%)
HSVhsv(138, 76%, 69%)
CMYKcmyk(76.3%, 0%, 53.7%, 30.6%)
CIE-LABlab(63.79, -55.74, 38.33)
CIE-LCHlch(63.79, 67.64, 145.49°)
OKLaboklab(66.92% -0.1498 0.0921)
OKLCHoklch(66.92% 0.176 148.4)
XYZxyz(18.1985, 32.5436, 13.3034)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB152 #B12A89
analogous
#45B12A #2AB152 #2AB195
triadic
#2AB152 #522AB1 #B1522A
tetradic
#2AB152 #2A45B1 #B12A89 #B1952A
square
#2AB152 #2A45B1 #B12A89 #B1952A
split-complementary
#2AB152 #952AB1 #B12A45
monochromatic
#134E24 #1E803B #2AB152 #45D36F #77DF96

Accessibility & contrast

On white

2.80
#2AB152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#2AB152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB152
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB152#FFFFFF#000000##000000
##2AB1521.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#A39659
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab152;
/* rgb */ color: rgb(42, 177, 82);
/* oklch */ color: oklch(66.9% 0.176 148.4);
Tailwind
colors: {
  custom: {
    50: '#79c985',
    500: '#2ab152',
    950: '#000000',
  },
}
SCSS
$custom: #2ab152;
$custom-light: #79c985;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab152",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 137.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66921,
    "c": 0.1759,
    "h": 148.4
  },
  "luminance": 0.32546
}

Semantic roles & 50–950 ramp

primary
#2AB152
secondary
#C670AD
accent
#43B5E5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2AB152

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

Preview Lab → · Contrast checker → · Palette generator →

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