#2AB22C#2AB22C

#2AB22C is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.8% C 0.205 H 143.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2AB22C
RGBrgb(42, 178, 44)
HSLhsl(121, 62%, 43%)
HSVhsv(121, 76%, 70%)
CMYKcmyk(76.4%, 0%, 75.3%, 30.2%)
CIE-LABlab(63.76, -60.30, 54.66)
CIE-LCHlch(63.76, 81.38, 137.81°)
OKLaboklab(66.79% -0.1636 0.1233)
OKLCHoklch(66.79% 0.205 143)
XYZxyz(17.3288, 32.5129, 7.7447)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB22C #B22AB0
analogous
#6CB22A #2AB22C #2AB270
triadic
#2AB22C #2C2AB2 #B22C2A
tetradic
#2AB22C #2A6CB2 #B22AB0 #B2702A
square
#2AB22C #2A6CB2 #B22AB0 #B2702A
split-complementary
#2AB22C #702AB2 #B22A6C
monochromatic
#134F14 #1E8020 #2AB22C #46D348 #77DF79

Accessibility & contrast

On white

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

On black

7.50
#2AB22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB22C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB22C#FFFFFF#000000##000000
##2AB22C1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A110
Deuteranopia (green-blind)
#A7963B
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab22c;
/* rgb */ color: rgb(42, 178, 44);
/* oklch */ color: oklch(66.8% 0.205 143.0);
Tailwind
colors: {
  custom: {
    50: '#7bca6e',
    500: '#2ab22c',
    950: '#000000',
  },
}
SCSS
$custom: #2ab22c;
$custom-light: #7bca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab22c",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 120.882,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.20481,
    "h": 143
  },
  "luminance": 0.32515
}

Semantic roles & 50–950 ramp

primary
#2AB22C
secondary
#C771C6
accent
#43E3E5
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB22C

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

Preview Lab → · Contrast checker → · Palette generator →

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