#2ABB31#2ABB31

#2ABB31 is a light, highly saturated green. Relative luminance 0.363; OKLCH L 69.2% C 0.212 H 143.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2ABB31
RGBrgb(42, 187, 49)
HSLhsl(123, 63%, 45%)
HSVhsv(123, 78%, 73%)
CMYKcmyk(77.5%, 0%, 73.8%, 26.7%)
CIE-LABlab(66.71, -62.74, 55.85)
CIE-LCHlch(66.71, 84.00, 138.33°)
OKLaboklab(69.25% -0.17 0.1264)
OKLCHoklch(69.25% 0.212 143.4)
XYZxyz(19.2783, 36.2524, 8.8865)
Luminance0.3625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2ABB31 #BB2AB4
analogous
#6BBB2A #2ABB31 #2ABB7A
triadic
#2ABB31 #312ABB #BB312A
tetradic
#2ABB31 #2A6BBB #BB2AB4 #BB7A2A
square
#2ABB31 #2A6BBB #BB2AB4 #BB7A2A
split-complementary
#2ABB31 #7A2ABB #BB2A6B
monochromatic
#145717 #1F8924 #2ABB31 #4CD752 #7DE282

Accessibility & contrast

On white

2.55
#2ABB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#2ABB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2ABB31
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2ABB31#FFFFFF#000000##000000
##2ABB311.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#AF9E40
Tritanopia (blue-blind)
#00B6A0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #2abb31;
/* rgb */ color: rgb(42, 187, 49);
/* oklch */ color: oklch(69.2% 0.212 143.4);
Tailwind
colors: {
  custom: {
    50: '#7dd172',
    500: '#2abb31',
    950: '#000000',
  },
}
SCSS
$custom: #2abb31;
$custom-light: #7dd172;
$custom-dark: #000000;
JSON
{
  "hex": "#2abb31",
  "rgb": {
    "r": 42,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 122.897,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69248,
    "c": 0.21184,
    "h": 143.4
  },
  "luminance": 0.36255
}

Semantic roles & 50–950 ramp

primary
#2ABB31
secondary
#CA76C6
accent
#41DEE6
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0B1408
muted
#7C837B

Preview Lab

Preview with #2ABB31

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

Preview Lab → · Contrast checker → · Palette generator →

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