#2AB12C#2AB12C

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

Color values

HEX#2AB12C
RGBrgb(42, 177, 44)
HSLhsl(121, 62%, 43%)
HSVhsv(121, 76%, 69%)
CMYKcmyk(76.3%, 0%, 75.1%, 30.6%)
CIE-LABlab(63.44, -59.98, 54.33)
CIE-LCHlch(63.44, 80.93, 137.83°)
OKLaboklab(66.52% -0.1627 0.1226)
OKLCHoklch(66.52% 0.204 143)
XYZxyz(17.1305, 32.1164, 7.6786)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB12C #B12AAF
analogous
#6BB12A #2AB12C #2AB16F
triadic
#2AB12C #2C2AB1 #B12C2A
tetradic
#2AB12C #2A6BB1 #B12AAF #B16F2A
square
#2AB12C #2A6BB1 #B12AAF #B16F2A
split-complementary
#2AB12C #6F2AB1 #B12A6B
monochromatic
#134E13 #1E8020 #2AB12C #45D347 #77DF78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB12C#FFFFFF#000000##000000
##2AB12C1.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)
#B5A010
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab12c;
/* rgb */ color: rgb(42, 177, 44);
/* oklch */ color: oklch(66.5% 0.204 143.0);
Tailwind
colors: {
  custom: {
    50: '#7bca6e',
    500: '#2ab12c',
    950: '#000000',
  },
}
SCSS
$custom: #2ab12c;
$custom-light: #7bca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab12c",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 120.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66517,
    "c": 0.20371,
    "h": 143
  },
  "luminance": 0.32118
}

Semantic roles & 50–950 ramp

primary
#2AB12C
secondary
#C670C5
accent
#43E2E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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