#2AB72E#2AB72E

#2AB72E is a light, highly saturated green. Relative luminance 0.346; OKLCH L 68.2% C 0.209 H 143.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2AB72E
RGBrgb(42, 183, 46)
HSLhsl(122, 63%, 44%)
HSVhsv(122, 77%, 72%)
CMYKcmyk(77%, 0%, 74.9%, 28.2%)
CIE-LABlab(65.40, -61.72, 55.59)
CIE-LCHlch(65.40, 83.07, 137.99°)
OKLaboklab(68.15% -0.1674 0.1255)
OKLCHoklch(68.15% 0.209 143.1)
XYZxyz(18.3803, 34.5543, 8.2852)
Luminance0.3456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB72E #B72AB3
analogous
#6DB72A #2AB72E #2AB775
triadic
#2AB72E #2E2AB7 #B72E2A
tetradic
#2AB72E #2A6DB7 #B72AB3 #B7752A
square
#2AB72E #2A6DB7 #B72AB3 #B7752A
split-complementary
#2AB72E #752AB7 #B72A6D
monochromatic
#135315 #1F8521 #2AB72E #49D54D #7BE17E

Accessibility & contrast

On white

2.65
#2AB72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#2AB72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB72E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB72E#FFFFFF#000000##000000
##2AB72E1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA512
Deuteranopia (green-blind)
#AB9B3D
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab72e;
/* rgb */ color: rgb(42, 183, 46);
/* oklch */ color: oklch(68.2% 0.209 143.1);
Tailwind
colors: {
  custom: {
    50: '#7cce70',
    500: '#2ab72e',
    950: '#000000',
  },
}
SCSS
$custom: #2ab72e;
$custom-light: #7cce70;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab72e",
  "rgb": {
    "r": 42,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 121.702,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68151,
    "c": 0.20916,
    "h": 143.1
  },
  "luminance": 0.34556
}

Semantic roles & 50–950 ramp

primary
#2AB72E
secondary
#C974C6
accent
#42E1E6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB72E

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

Preview Lab → · Contrast checker → · Palette generator →

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