#2AB23B#2AB23B

#2AB23B is a light, vivid green. Relative luminance 0.326; OKLCH L 66.9% C 0.195 H 144.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2AB23B
RGBrgb(42, 178, 59)
HSLhsl(128, 62%, 43%)
HSVhsv(128, 76%, 70%)
CMYKcmyk(76.4%, 0%, 66.9%, 30.2%)
CIE-LABlab(63.87, -58.95, 48.98)
CIE-LCHlch(63.87, 76.65, 140.28°)
OKLaboklab(66.91% -0.1593 0.1132)
OKLCHoklch(66.91% 0.195 144.6)
XYZxyz(17.6635, 32.6467, 9.5074)
Luminance0.3265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB23B #B22AA1
analogous
#5DB22A #2AB23B #2AB27F
triadic
#2AB23B #3B2AB2 #B23B2A
tetradic
#2AB23B #2A5DB2 #B22AA1 #B27F2A
square
#2AB23B #2A5DB2 #B22AA1 #B27F2A
split-complementary
#2AB23B #7F2AB2 #B22A5D
monochromatic
#134F1A #1E802B #2AB23B #46D358 #77DF84

Accessibility & contrast

On white

2.79
#2AB23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#2AB23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB23B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB23B#FFFFFF#000000##000000
##2AB23B1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#A69746
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab23b;
/* rgb */ color: rgb(42, 178, 59);
/* oklch */ color: oklch(66.9% 0.195 144.6);
Tailwind
colors: {
  custom: {
    50: '#7aca76',
    500: '#2ab23b',
    950: '#000000',
  },
}
SCSS
$custom: #2ab23b;
$custom-light: #7aca76;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab23b",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 127.5,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66913,
    "c": 0.19539,
    "h": 144.6
  },
  "luminance": 0.32649
}

Semantic roles & 50–950 ramp

primary
#2AB23B
secondary
#C771BC
accent
#43D1E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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