#2AB948#2AB948

#2AB948 is a light, vivid green. Relative luminance 0.357; OKLCH L 68.9% C 0.194 H 146.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2AB948
RGBrgb(42, 185, 72)
HSLhsl(133, 63%, 45%)
HSVhsv(133, 77%, 73%)
CMYKcmyk(77.3%, 0%, 61.1%, 27.5%)
CIE-LABlab(66.26, -59.80, 45.97)
CIE-LCHlch(66.26, 75.42, 142.45°)
OKLaboklab(68.93% -0.161 0.1081)
OKLCHoklch(68.93% 0.194 146.1)
XYZxyz(19.4721, 35.6557, 11.9856)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB948 #B92A9B
analogous
#54B92A #2AB948 #2AB98F
triadic
#2AB948 #482AB9 #B9482A
tetradic
#2AB948 #2A54B9 #B92A9B #B98F2A
square
#2AB948 #2A54B9 #B92A9B #B98F2A
split-complementary
#2AB948 #8F2AB9 #B92A54
monochromatic
#135521 #1F8735 #2AB948 #4AD668 #7CE191

Accessibility & contrast

On white

2.58
#2AB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#2AB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB948
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB948#FFFFFF#000000##000000
##2AB9481.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83C
Deuteranopia (green-blind)
#AC9D52
Tritanopia (blue-blind)
#00B5A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2ab948;
/* rgb */ color: rgb(42, 185, 72);
/* oklch */ color: oklch(68.9% 0.194 146.1);
Tailwind
colors: {
  custom: {
    50: '#7bcf7f',
    500: '#2ab948',
    950: '#000000',
  },
}
SCSS
$custom: #2ab948;
$custom-light: #7bcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab948",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 132.587,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68929,
    "c": 0.19394,
    "h": 146.1
  },
  "luminance": 0.35658
}

Semantic roles & 50–950 ramp

primary
#2AB948
secondary
#CA75B8
accent
#42C4E6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB948

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

Preview Lab → · Contrast checker → · Palette generator →

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