#2AB74A#2AB74A

#2AB74A is a light, vivid green. Relative luminance 0.349; OKLCH L 68.4% C 0.190 H 146.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2AB74A
RGBrgb(42, 183, 74)
HSLhsl(134, 63%, 44%)
HSVhsv(134, 77%, 72%)
CMYKcmyk(77%, 0%, 59.6%, 28.2%)
CIE-LABlab(65.63, -58.88, 44.34)
CIE-LCHlch(65.63, 73.71, 143.02°)
OKLaboklab(68.42% -0.1585 0.1047)
OKLCHoklch(68.42% 0.19 146.6)
XYZxyz(19.1229, 34.8514, 12.1964)
Luminance0.3485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB74A #B72A97
analogous
#51B72A #2AB74A #2AB791
triadic
#2AB74A #4A2AB7 #B74A2A
tetradic
#2AB74A #2A51B7 #B72A97 #B7912A
square
#2AB74A #2A51B7 #B72A97 #B7912A
split-complementary
#2AB74A #912AB7 #B72A51
monochromatic
#135322 #1F8536 #2AB74A #49D569 #7BE192

Accessibility & contrast

On white

2.63
#2AB74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#2AB74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB74A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB74A#FFFFFF#000000##000000
##2AB74A1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63F
Deuteranopia (green-blind)
#AA9B53
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab74a;
/* rgb */ color: rgb(42, 183, 74);
/* oklch */ color: oklch(68.4% 0.190 146.6);
Tailwind
colors: {
  custom: {
    50: '#7bce80',
    500: '#2ab74a',
    950: '#000000',
  },
}
SCSS
$custom: #2ab74a;
$custom-light: #7bce80;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab74a",
  "rgb": {
    "r": 42,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 133.617,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68419,
    "c": 0.18998,
    "h": 146.6
  },
  "luminance": 0.34854
}

Semantic roles & 50–950 ramp

primary
#2AB74A
secondary
#C974B6
accent
#42C1E6
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB74A

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

Preview Lab → · Contrast checker → · Palette generator →

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