#2AB74B#2AB74B

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

Color values

HEX#2AB74B
RGBrgb(42, 183, 75)
HSLhsl(134, 63%, 44%)
HSVhsv(134, 77%, 72%)
CMYKcmyk(77%, 0%, 59%, 28.2%)
CIE-LABlab(65.64, -58.75, 43.89)
CIE-LCHlch(65.64, 73.34, 143.24°)
OKLaboklab(68.43% -0.1581 0.1038)
OKLCHoklch(68.43% 0.189 146.7)
XYZxyz(19.1569, 34.8649, 12.3752)
Luminance0.3487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB74B #B72A96
analogous
#4FB72A #2AB74B #2AB792
triadic
#2AB74B #4B2AB7 #B74B2A
tetradic
#2AB74B #2A4FB7 #B72A96 #B7922A
square
#2AB74B #2A4FB7 #B72A96 #B7922A
split-complementary
#2AB74B #922AB7 #B72A4F
monochromatic
#135322 #1F8537 #2AB74B #49D56A #7BE193

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB74B#FFFFFF#000000##000000
##2AB74B1.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)
#B9A640
Deuteranopia (green-blind)
#AA9B54
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab74b;
/* rgb */ color: rgb(42, 183, 75);
/* oklch */ color: oklch(68.4% 0.189 146.7);
Tailwind
colors: {
  custom: {
    50: '#7bce81',
    500: '#2ab74b',
    950: '#000000',
  },
}
SCSS
$custom: #2ab74b;
$custom-light: #7bce81;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab74b",
  "rgb": {
    "r": 42,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 134.043,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68431,
    "c": 0.18917,
    "h": 146.7
  },
  "luminance": 0.34867
}

Semantic roles & 50–950 ramp

primary
#2AB74B
secondary
#C974B5
accent
#42BFE6
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB74B

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

Preview Lab → · Contrast checker → · Palette generator →

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