#2AB942#2AB942

#2AB942 is a light, vivid green. Relative luminance 0.356; OKLCH L 68.9% C 0.198 H 145.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2AB942
RGBrgb(42, 185, 66)
HSLhsl(130, 63%, 45%)
HSVhsv(130, 77%, 73%)
CMYKcmyk(77.3%, 0%, 64.3%, 27.5%)
CIE-LABlab(66.20, -60.49, 48.56)
CIE-LCHlch(66.20, 77.57, 141.24°)
OKLaboklab(68.86% -0.1632 0.113)
OKLCHoklch(68.86% 0.198 145.3)
XYZxyz(19.2858, 35.5812, 11.0046)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB942 #B92AA1
analogous
#5AB92A #2AB942 #2AB98A
triadic
#2AB942 #422AB9 #B9422A
tetradic
#2AB942 #2A5AB9 #B92AA1 #B98A2A
square
#2AB942 #2A5AB9 #B92AA1 #B98A2A
split-complementary
#2AB942 #8A2AB9 #B92A5A
monochromatic
#13551E #1F8730 #2AB942 #4AD662 #7CE18D

Accessibility & contrast

On white

2.59
#2AB942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#2AB942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB942
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB942#FFFFFF#000000##000000
##2AB9421.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#AC9D4D
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2ab942;
/* rgb */ color: rgb(42, 185, 66);
/* oklch */ color: oklch(68.9% 0.198 145.3);
Tailwind
colors: {
  custom: {
    50: '#7ccf7b',
    500: '#2ab942',
    950: '#000000',
  },
}
SCSS
$custom: #2ab942;
$custom-light: #7ccf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab942",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 130.07,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68863,
    "c": 0.19849,
    "h": 145.3
  },
  "luminance": 0.35584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB942

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

Preview Lab → · Contrast checker → · Palette generator →

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