#2AB52D#2AB52D

#2AB52D is a light, highly saturated green. Relative luminance 0.337; OKLCH L 67.6% C 0.208 H 143.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2AB52D
RGBrgb(42, 181, 45)
HSLhsl(121, 62%, 44%)
HSVhsv(121, 77%, 71%)
CMYKcmyk(76.8%, 0%, 75.1%, 29%)
CIE-LABlab(64.75, -61.17, 55.29)
CIE-LCHlch(64.75, 82.45, 137.89°)
OKLaboklab(67.61% -0.1659 0.1247)
OKLCHoklch(67.61% 0.208 143.1)
XYZxyz(17.9512, 33.7273, 8.0461)
Luminance0.3373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB52D #B52AB2
analogous
#6CB52A #2AB52D #2AB572
triadic
#2AB52D #2D2AB5 #B52D2A
tetradic
#2AB52D #2A6CB5 #B52AB2 #B5722A
square
#2AB52D #2A6CB5 #B52AB2 #B5722A
split-complementary
#2AB52D #722AB5 #B52A6C
monochromatic
#135214 #1E8321 #2AB52D #48D44B #79E07C

Accessibility & contrast

On white

2.71
#2AB52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#2AB52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB52D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB52D#FFFFFF#000000##000000
##2AB52D1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A310
Deuteranopia (green-blind)
#AA993C
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2ab52d;
/* rgb */ color: rgb(42, 181, 45);
/* oklch */ color: oklch(67.6% 0.208 143.1);
Tailwind
colors: {
  custom: {
    50: '#7ccc6f',
    500: '#2ab52d',
    950: '#000000',
  },
}
SCSS
$custom: #2ab52d;
$custom-light: #7ccc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab52d",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 121.295,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67605,
    "c": 0.20753,
    "h": 143.1
  },
  "luminance": 0.33729
}

Semantic roles & 50–950 ramp

primary
#2AB52D
secondary
#C873C6
accent
#42E2E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB52D

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

Preview Lab → · Contrast checker → · Palette generator →

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