#2AB742#2AB742

#2AB742 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.3% C 0.196 H 145.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2AB742
RGBrgb(42, 183, 66)
HSLhsl(130, 63%, 44%)
HSVhsv(130, 77%, 72%)
CMYKcmyk(77%, 0%, 63.9%, 28.2%)
CIE-LABlab(65.55, -59.84, 47.84)
CIE-LCHlch(65.55, 76.61, 141.36°)
OKLaboklab(68.33% -0.1614 0.1115)
OKLCHoklch(68.33% 0.196 145.4)
XYZxyz(18.8704, 34.7503, 10.8662)
Luminance0.3475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB742 #B72A9F
analogous
#59B72A #2AB742 #2AB789
triadic
#2AB742 #422AB7 #B7422A
tetradic
#2AB742 #2A59B7 #B72A9F #B7892A
square
#2AB742 #2A59B7 #B72A9F #B7892A
split-complementary
#2AB742 #892AB7 #B72A59
monochromatic
#13531E #1F8530 #2AB742 #49D561 #7BE18C

Accessibility & contrast

On white

2.64
#2AB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#2AB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB742
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB742#FFFFFF#000000##000000
##2AB7421.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#AA9B4C
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab742;
/* rgb */ color: rgb(42, 183, 66);
/* oklch */ color: oklch(68.3% 0.196 145.4);
Tailwind
colors: {
  custom: {
    50: '#7bce7b',
    500: '#2ab742',
    950: '#000000',
  },
}
SCSS
$custom: #2ab742;
$custom-light: #7bce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab742",
  "rgb": {
    "r": 42,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 130.213,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68328,
    "c": 0.19615,
    "h": 145.4
  },
  "luminance": 0.34753
}

Semantic roles & 50–950 ramp

primary
#2AB742
secondary
#C974BA
accent
#42CAE6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB742

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

Preview Lab → · Contrast checker → · Palette generator →

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