#2AB72F#2AB72F

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

Color values

HEX#2AB72F
RGBrgb(42, 183, 47)
HSLhsl(122, 63%, 44%)
HSVhsv(122, 77%, 72%)
CMYKcmyk(77%, 0%, 74.3%, 28.2%)
CIE-LABlab(65.41, -61.65, 55.25)
CIE-LCHlch(65.41, 82.78, 138.13°)
OKLaboklab(68.16% -0.1671 0.1249)
OKLCHoklch(68.16% 0.209 143.2)
XYZxyz(18.4002, 34.5623, 8.3902)
Luminance0.3456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB72F #B72AB2
analogous
#6CB72A #2AB72F #2AB776
triadic
#2AB72F #2F2AB7 #B72F2A
tetradic
#2AB72F #2A6CB7 #B72AB2 #B7762A
square
#2AB72F #2A6CB7 #B72AB2 #B7762A
split-complementary
#2AB72F #762AB7 #B72A6C
monochromatic
#135315 #1F8522 #2AB72F #49D54E #7BE17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB72F#FFFFFF#000000##000000
##2AB72F1.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)
#BBA514
Deuteranopia (green-blind)
#AB9B3E
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab72f;
/* rgb */ color: rgb(42, 183, 47);
/* oklch */ color: oklch(68.2% 0.209 143.2);
Tailwind
colors: {
  custom: {
    50: '#7cce70',
    500: '#2ab72f',
    950: '#000000',
  },
}
SCSS
$custom: #2ab72f;
$custom-light: #7cce70;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab72f",
  "rgb": {
    "r": 42,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 122.128,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68158,
    "c": 0.20861,
    "h": 143.2
  },
  "luminance": 0.34564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB72F

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

Preview Lab → · Contrast checker → · Palette generator →

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