#2AB12A#2AB12A

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

Color values

HEX#2AB12A
RGBrgb(42, 177, 42)
HSLhsl(120, 62%, 43%)
HSVhsv(120, 76%, 69%)
CMYKcmyk(76.3%, 0%, 76.3%, 30.6%)
CIE-LABlab(63.43, -60.13, 55.01)
CIE-LCHlch(63.43, 81.50, 137.54°)
OKLaboklab(66.5% -0.1632 0.1237)
OKLCHoklch(66.5% 0.205 142.8)
XYZxyz(17.0938, 32.1017, 7.4854)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB12A #B12AB1
analogous
#6DB12A #2AB12A #2AB16D
triadic
#2AB12A #2A2AB1 #B12A2A
tetradic
#2AB12A #2A6DB1 #B12AB1 #B16D2A
square
#2AB12A #2A6DB1 #B12AB1 #B16D2A
split-complementary
#2AB12A #6D2AB1 #B12A6D
monochromatic
#134E13 #1E801E #2AB12A #45D345 #77DF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB12A#FFFFFF#000000##000000
##2AB12A1.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)
#B5A00A
Deuteranopia (green-blind)
#A69639
Tritanopia (blue-blind)
#00AC97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab12a;
/* rgb */ color: rgb(42, 177, 42);
/* oklch */ color: oklch(66.5% 0.205 142.8);
Tailwind
colors: {
  custom: {
    50: '#7bca6d',
    500: '#2ab12a',
    950: '#000000',
  },
}
SCSS
$custom: #2ab12a;
$custom-light: #7bca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab12a",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.2048,
    "h": 142.8
  },
  "luminance": 0.32104
}

Semantic roles & 50–950 ramp

primary
#2AB12A
secondary
#C670C6
accent
#43E5E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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