#2AB22F#2AB22F

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

Color values

HEX#2AB22F
RGBrgb(42, 178, 47)
HSLhsl(122, 62%, 43%)
HSVhsv(122, 76%, 70%)
CMYKcmyk(76.4%, 0%, 73.6%, 30.2%)
CIE-LABlab(63.78, -60.06, 53.61)
CIE-LCHlch(63.78, 80.50, 138.25°)
OKLaboklab(66.81% -0.1628 0.1215)
OKLCHoklch(66.81% 0.203 143.3)
XYZxyz(17.3872, 32.5362, 8.0525)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB22F #B22AAD
analogous
#69B22A #2AB22F #2AB273
triadic
#2AB22F #2F2AB2 #B22F2A
tetradic
#2AB22F #2A69B2 #B22AAD #B2732A
square
#2AB22F #2A69B2 #B22AAD #B2732A
split-complementary
#2AB22F #732AB2 #B22A69
monochromatic
#134F15 #1E8022 #2AB22F #46D34B #77DF7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB22F#FFFFFF#000000##000000
##2AB22F1.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)
#B6A117
Deuteranopia (green-blind)
#A7973D
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab22f;
/* rgb */ color: rgb(42, 178, 47);
/* oklch */ color: oklch(66.8% 0.203 143.3);
Tailwind
colors: {
  custom: {
    50: '#7bca70',
    500: '#2ab22f',
    950: '#000000',
  },
}
SCSS
$custom: #2ab22f;
$custom-light: #7bca70;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab22f",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 122.206,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66809,
    "c": 0.20311,
    "h": 143.3
  },
  "luminance": 0.32538
}

Semantic roles & 50–950 ramp

primary
#2AB22F
secondary
#C771C4
accent
#43DFE5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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