#2AB23C#2AB23C

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

Color values

HEX#2AB23C
RGBrgb(42, 178, 60)
HSLhsl(128, 62%, 43%)
HSVhsv(128, 76%, 70%)
CMYKcmyk(76.4%, 0%, 66.3%, 30.2%)
CIE-LABlab(63.88, -58.85, 48.57)
CIE-LCHlch(63.88, 76.31, 140.46°)
OKLaboklab(66.92% -0.1589 0.1124)
OKLCHoklch(66.92% 0.195 144.7)
XYZxyz(17.6896, 32.6572, 9.6453)
Luminance0.3266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB23C #B22AA0
analogous
#5CB22A #2AB23C #2AB280
triadic
#2AB23C #3C2AB2 #B23C2A
tetradic
#2AB23C #2A5CB2 #B22AA0 #B2802A
square
#2AB23C #2A5CB2 #B22AA0 #B2802A
split-complementary
#2AB23C #802AB2 #B22A5C
monochromatic
#134F1B #1E802B #2AB23C #46D359 #77DF85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB23C#FFFFFF#000000##000000
##2AB23C1.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)
#B5A12D
Deuteranopia (green-blind)
#A69747
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab23c;
/* rgb */ color: rgb(42, 178, 60);
/* oklch */ color: oklch(66.9% 0.195 144.7);
Tailwind
colors: {
  custom: {
    50: '#7aca77',
    500: '#2ab23c',
    950: '#000000',
  },
}
SCSS
$custom: #2ab23c;
$custom-light: #7aca77;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab23c",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 127.941,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66923,
    "c": 0.19468,
    "h": 144.7
  },
  "luminance": 0.32659
}

Semantic roles & 50–950 ramp

primary
#2AB23C
secondary
#C771BB
accent
#43CFE5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB23C

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

Preview Lab → · Contrast checker → · Palette generator →

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