#2AB72D#2AB72D

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

Color values

HEX#2AB72D
RGBrgb(42, 183, 45)
HSLhsl(121, 63%, 44%)
HSVhsv(121, 77%, 72%)
CMYKcmyk(77%, 0%, 75.4%, 28.2%)
CIE-LABlab(65.39, -61.80, 55.94)
CIE-LCHlch(65.39, 83.35, 137.85°)
OKLaboklab(68.14% -0.1676 0.126)
OKLCHoklch(68.14% 0.21 143.1)
XYZxyz(18.3608, 34.5465, 8.1826)
Luminance0.3455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB72D #B72AB4
analogous
#6DB72A #2AB72D #2AB774
triadic
#2AB72D #2D2AB7 #B72D2A
tetradic
#2AB72D #2A6DB7 #B72AB4 #B7742A
square
#2AB72D #2A6DB7 #B72AB4 #B7742A
split-complementary
#2AB72D #742AB7 #B72A6D
monochromatic
#135315 #1F8521 #2AB72D #49D54C #7BE17D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB72D#FFFFFF#000000##000000
##2AB72D1.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)
#BBA50F
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab72d;
/* rgb */ color: rgb(42, 183, 45);
/* oklch */ color: oklch(68.1% 0.210 143.1);
Tailwind
colors: {
  custom: {
    50: '#7cce6f',
    500: '#2ab72d',
    950: '#000000',
  },
}
SCSS
$custom: #2ab72d;
$custom-light: #7cce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab72d",
  "rgb": {
    "r": 42,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 121.277,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68144,
    "c": 0.20971,
    "h": 143.1
  },
  "luminance": 0.34549
}

Semantic roles & 50–950 ramp

primary
#2AB72D
secondary
#C974C7
accent
#42E2E6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB72D

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

Preview Lab → · Contrast checker → · Palette generator →

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