#2AB12E#2AB12E

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

Color values

HEX#2AB12E
RGBrgb(42, 177, 46)
HSLhsl(122, 62%, 43%)
HSVhsv(122, 76%, 69%)
CMYKcmyk(76.3%, 0%, 74%, 30.6%)
CIE-LABlab(63.45, -59.82, 53.63)
CIE-LCHlch(63.45, 80.34, 138.12°)
OKLaboklab(66.53% -0.1622 0.1214)
OKLCHoklch(66.53% 0.203 143.2)
XYZxyz(17.1690, 32.1318, 7.8814)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB12E #B12AAD
analogous
#69B12A #2AB12E #2AB172
triadic
#2AB12E #2E2AB1 #B12E2A
tetradic
#2AB12E #2A69B1 #B12AAD #B1722A
square
#2AB12E #2A69B1 #B12AAD #B1722A
split-complementary
#2AB12E #722AB1 #B12A69
monochromatic
#134E14 #1E8021 #2AB12E #45D349 #77DF7A

Accessibility & contrast

On white

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

On black

7.43
#2AB12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB12E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB12E#FFFFFF#000000##000000
##2AB12E1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A015
Deuteranopia (green-blind)
#A6963C
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab12e;
/* rgb */ color: rgb(42, 177, 46);
/* oklch */ color: oklch(66.5% 0.203 143.2);
Tailwind
colors: {
  custom: {
    50: '#7bca6f',
    500: '#2ab12e',
    950: '#000000',
  },
}
SCSS
$custom: #2ab12e;
$custom-light: #7bca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab12e",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 121.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66531,
    "c": 0.20258,
    "h": 143.2
  },
  "luminance": 0.32134
}

Semantic roles & 50–950 ramp

primary
#2AB12E
secondary
#C670C4
accent
#43E0E5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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