#2AB538#2AB538

#2AB538 is a light, highly saturated green. Relative luminance 0.338; OKLCH L 67.7% C 0.201 H 144.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2AB538
RGBrgb(42, 181, 56)
HSLhsl(126, 62%, 44%)
HSVhsv(126, 77%, 71%)
CMYKcmyk(76.8%, 0%, 69.1%, 29%)
CIE-LABlab(64.82, -60.23, 51.24)
CIE-LCHlch(64.82, 79.07, 139.61°)
OKLaboklab(67.69% -0.1628 0.1176)
OKLCHoklch(67.69% 0.201 144.2)
XYZxyz(18.1913, 33.8234, 9.3104)
Luminance0.3383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB538 #B52AA7
analogous
#61B52A #2AB538 #2AB57D
triadic
#2AB538 #382AB5 #B5382A
tetradic
#2AB538 #2A61B5 #B52AA7 #B57D2A
square
#2AB538 #2A61B5 #B52AA7 #B57D2A
split-complementary
#2AB538 #7D2AB5 #B52A61
monochromatic
#135219 #1E8329 #2AB538 #48D456 #79E084

Accessibility & contrast

On white

2.70
#2AB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#2AB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB538
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB538#FFFFFF#000000##000000
##2AB5381.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A426
Deuteranopia (green-blind)
#A99944
Tritanopia (blue-blind)
#00B09C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2ab538;
/* rgb */ color: rgb(42, 181, 56);
/* oklch */ color: oklch(67.7% 0.201 144.2);
Tailwind
colors: {
  custom: {
    50: '#7bcc75',
    500: '#2ab538',
    950: '#000000',
  },
}
SCSS
$custom: #2ab538;
$custom-light: #7bcc75;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab538",
  "rgb": {
    "r": 42,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 126.043,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67693,
    "c": 0.20087,
    "h": 144.2
  },
  "luminance": 0.33826
}

Semantic roles & 50–950 ramp

primary
#2AB538
secondary
#C873BF
accent
#42D5E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2AB538

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

Preview Lab → · Contrast checker → · Palette generator →

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