#2AB951#2AB951

#2AB951 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.0% C 0.187 H 147.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2AB951
RGBrgb(42, 185, 81)
HSLhsl(136, 63%, 45%)
HSVhsv(136, 77%, 73%)
CMYKcmyk(77.3%, 0%, 56.2%, 27.5%)
CIE-LABlab(66.35, -58.63, 41.90)
CIE-LCHlch(66.35, 72.06, 144.45°)
OKLaboklab(69.04% -0.1577 0.0999)
OKLCHoklch(69.04% 0.187 147.6)
XYZxyz(19.7875, 35.7819, 13.6467)
Luminance0.3578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB951 #B92A92
analogous
#4AB92A #2AB951 #2AB999
triadic
#2AB951 #512AB9 #B9512A
tetradic
#2AB951 #2A4AB9 #B92A92 #B9992A
square
#2AB951 #2A4AB9 #B92A92 #B9992A
split-complementary
#2AB951 #992AB9 #B92A4A
monochromatic
#135525 #1F873B #2AB951 #4AD670 #7CE198

Accessibility & contrast

On white

2.57
#2AB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#2AB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB951
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB951#FFFFFF#000000##000000
##2AB9511.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA847
Deuteranopia (green-blind)
#AB9D59
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2ab951;
/* rgb */ color: rgb(42, 185, 81);
/* oklch */ color: oklch(69.0% 0.187 147.6);
Tailwind
colors: {
  custom: {
    50: '#7bcf84',
    500: '#2ab951',
    950: '#000000',
  },
}
SCSS
$custom: #2ab951;
$custom-light: #7bcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab951",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 136.364,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69041,
    "c": 0.18666,
    "h": 147.6
  },
  "luminance": 0.35784
}

Semantic roles & 50–950 ramp

primary
#2AB951
secondary
#CA75B3
accent
#42B9E6
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #2AB951

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

Preview Lab → · Contrast checker → · Palette generator →

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