#2AB838#2AB838

#2AB838 is a light, highly saturated green. Relative luminance 0.351; OKLCH L 68.5% C 0.204 H 144.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2AB838
RGBrgb(42, 184, 56)
HSLhsl(126, 63%, 44%)
HSVhsv(126, 77%, 72%)
CMYKcmyk(77.2%, 0%, 69.6%, 27.8%)
CIE-LABlab(65.79, -61.19, 52.27)
CIE-LCHlch(65.79, 80.47, 139.50°)
OKLaboklab(68.5% -0.1655 0.1198)
OKLCHoklch(68.5% 0.204 144.1)
XYZxyz(18.8079, 35.0565, 9.5160)
Luminance0.3506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB838 #B82AAA
analogous
#63B82A #2AB838 #2AB87F
triadic
#2AB838 #382AB8 #B8382A
tetradic
#2AB838 #2A63B8 #B82AAA #B87F2A
square
#2AB838 #2A63B8 #B82AAA #B87F2A
split-complementary
#2AB838 #7F2AB8 #B82A63
monochromatic
#13541A #1F8629 #2AB838 #4AD657 #7BE185

Accessibility & contrast

On white

2.62
#2AB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#2AB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB838
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB838#FFFFFF#000000##000000
##2AB8381.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA625
Deuteranopia (green-blind)
#AC9C44
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2ab838;
/* rgb */ color: rgb(42, 184, 56);
/* oklch */ color: oklch(68.5% 0.204 144.1);
Tailwind
colors: {
  custom: {
    50: '#7ccf75',
    500: '#2ab838',
    950: '#000000',
  },
}
SCSS
$custom: #2ab838;
$custom-light: #7ccf75;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab838",
  "rgb": {
    "r": 42,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 125.915,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68499,
    "c": 0.20426,
    "h": 144.1
  },
  "luminance": 0.35059
}

Semantic roles & 50–950 ramp

primary
#2AB838
secondary
#C975C1
accent
#42D6E6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2AB838

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

Preview Lab → · Contrast checker → · Palette generator →

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