#2AB22B#2AB22B

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

Color values

HEX#2AB22B
RGBrgb(42, 178, 43)
HSLhsl(120, 62%, 43%)
HSVhsv(120, 76%, 70%)
CMYKcmyk(76.4%, 0%, 75.8%, 30.2%)
CIE-LABlab(63.76, -60.37, 55.00)
CIE-LCHlch(63.76, 81.67, 137.67°)
OKLaboklab(66.78% -0.1638 0.1238)
OKLCHoklch(66.78% 0.205 142.9)
XYZxyz(17.3102, 32.5054, 7.6469)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB22B #B22AB1
analogous
#6DB22A #2AB22B #2AB26F
triadic
#2AB22B #2B2AB2 #B22B2A
tetradic
#2AB22B #2A6DB2 #B22AB1 #B26F2A
square
#2AB22B #2A6DB2 #B22AB1 #B26F2A
split-complementary
#2AB22B #6F2AB2 #B22A6D
monochromatic
#134F13 #1E801F #2AB22B #46D347 #77DF78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB22B#FFFFFF#000000##000000
##2AB22B1.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)
#B6A10D
Deuteranopia (green-blind)
#A7963A
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab22b;
/* rgb */ color: rgb(42, 178, 43);
/* oklch */ color: oklch(66.8% 0.205 142.9);
Tailwind
colors: {
  custom: {
    50: '#7bca6e',
    500: '#2ab22b',
    950: '#000000',
  },
}
SCSS
$custom: #2ab22b;
$custom-light: #7bca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab22b",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 120.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6678,
    "c": 0.20536,
    "h": 142.9
  },
  "luminance": 0.32507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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