#2AB12D#2AB12D

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

Color values

HEX#2AB12D
RGBrgb(42, 177, 45)
HSLhsl(121, 62%, 43%)
HSVhsv(121, 76%, 69%)
CMYKcmyk(76.3%, 0%, 74.6%, 30.6%)
CIE-LABlab(63.45, -59.90, 53.99)
CIE-LCHlch(63.45, 80.64, 137.97°)
OKLaboklab(66.52% -0.1625 0.122)
OKLCHoklch(66.52% 0.203 143.1)
XYZxyz(17.1496, 32.1240, 7.7788)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB12D #B12AAE
analogous
#6BB12A #2AB12D #2AB170
triadic
#2AB12D #2D2AB1 #B12D2A
tetradic
#2AB12D #2A6BB1 #B12AAE #B1702A
square
#2AB12D #2A6BB1 #B12AAE #B1702A
split-complementary
#2AB12D #702AB1 #B12A6B
monochromatic
#134E14 #1E8020 #2AB12D #45D348 #77DF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB12D#FFFFFF#000000##000000
##2AB12D1.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)
#B5A013
Deuteranopia (green-blind)
#A6963B
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab12d;
/* rgb */ color: rgb(42, 177, 45);
/* oklch */ color: oklch(66.5% 0.203 143.1);
Tailwind
colors: {
  custom: {
    50: '#7bca6f',
    500: '#2ab12d',
    950: '#000000',
  },
}
SCSS
$custom: #2ab12d;
$custom-light: #7bca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab12d",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 121.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66524,
    "c": 0.20316,
    "h": 143.1
  },
  "luminance": 0.32126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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