#2AB242#2AB242

#2AB242 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.0% C 0.190 H 145.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2AB242
RGBrgb(42, 178, 66)
HSLhsl(131, 62%, 43%)
HSVhsv(131, 76%, 70%)
CMYKcmyk(76.4%, 0%, 62.9%, 30.2%)
CIE-LABlab(63.94, -58.19, 46.02)
CIE-LCHlch(63.94, 74.19, 141.66°)
OKLaboklab(66.99% -0.1569 0.1076)
OKLCHoklch(66.99% 0.19 145.5)
XYZxyz(17.8573, 32.7243, 10.5285)
Luminance0.3273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB242 #B22A9A
analogous
#56B22A #2AB242 #2AB286
triadic
#2AB242 #422AB2 #B2422A
tetradic
#2AB242 #2A56B2 #B22A9A #B2862A
square
#2AB242 #2A56B2 #B22A9A #B2862A
split-complementary
#2AB242 #862AB2 #B22A56
monochromatic
#134F1D #1E8030 #2AB242 #46D35F #77DF8A

Accessibility & contrast

On white

2.78
#2AB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#2AB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB242
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB242#FFFFFF#000000##000000
##2AB2421.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#A6974C
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab242;
/* rgb */ color: rgb(42, 178, 66);
/* oklch */ color: oklch(67.0% 0.190 145.5);
Tailwind
colors: {
  custom: {
    50: '#7aca7b',
    500: '#2ab242',
    950: '#000000',
  },
}
SCSS
$custom: #2ab242;
$custom-light: #7aca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab242",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 130.588,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66986,
    "c": 0.19026,
    "h": 145.5
  },
  "luminance": 0.32726
}

Semantic roles & 50–950 ramp

primary
#2AB242
secondary
#C771B8
accent
#43C8E5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB242

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

Preview Lab → · Contrast checker → · Palette generator →

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