#2AB128#2AB128

#2AB128 is a light, highly saturated green. Relative luminance 0.321; OKLCH L 66.5% C 0.206 H 142.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2AB128
RGBrgb(42, 177, 40)
HSLhsl(119, 63%, 43%)
HSVhsv(119, 77%, 69%)
CMYKcmyk(76.3%, 0%, 77.4%, 30.6%)
CIE-LABlab(63.42, -60.27, 55.67)
CIE-LCHlch(63.42, 82.04, 137.27°)
OKLaboklab(66.49% -0.1637 0.1248)
OKLCHoklch(66.49% 0.206 142.7)
XYZxyz(17.0589, 32.0877, 7.3016)
Luminance0.3209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB128 #AF28B1
analogous
#6FB128 #2AB128 #28B16A
triadic
#2AB128 #282AB1 #B1282A
tetradic
#2AB128 #286FB1 #AF28B1 #B16A28
square
#2AB128 #286FB1 #AF28B1 #B16A28
split-complementary
#2AB128 #6A28B1 #B1286F
monochromatic
#124D11 #1E7F1D #2AB128 #44D442 #75E074

Accessibility & contrast

On white

2.83
#2AB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#2AB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB128
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB128#FFFFFF#000000##000000
##2AB1281.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#00AC97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab128;
/* rgb */ color: rgb(42, 177, 40);
/* oklch */ color: oklch(66.5% 0.206 142.7);
Tailwind
colors: {
  custom: {
    50: '#7bca6c',
    500: '#2ab128',
    950: '#000000',
  },
}
SCSS
$custom: #2ab128;
$custom-light: #7bca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab128",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 119.124,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66489,
    "c": 0.20584,
    "h": 142.7
  },
  "luminance": 0.3209
}

Semantic roles & 50–950 ramp

primary
#2AB128
secondary
#C66EC7
accent
#42E6E4
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AB128

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

Preview Lab → · Contrast checker → · Palette generator →

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