#2CB951#2CB951

#2CB951 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.1% C 0.186 H 147.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2CB951
RGBrgb(44, 185, 81)
HSLhsl(136, 62%, 45%)
HSVhsv(136, 76%, 73%)
CMYKcmyk(76.2%, 0%, 56.2%, 27.5%)
CIE-LABlab(66.39, -58.36, 41.95)
CIE-LCHlch(66.39, 71.87, 144.29°)
OKLaboklab(69.08% -0.157 0.1)
OKLCHoklch(69.08% 0.186 147.5)
XYZxyz(19.8713, 35.8251, 13.6507)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CB951 #B92C94
analogous
#4DB92C #2CB951 #2CB998
triadic
#2CB951 #512CB9 #B9512C
tetradic
#2CB951 #2C4DB9 #B92C94 #B9982C
square
#2CB951 #2C4DB9 #B92C94 #B9982C
split-complementary
#2CB951 #982CB9 #B92C4D
monochromatic
#145626 #20883B #2CB951 #4DD571 #7FE198

Accessibility & contrast

On white

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

On black

8.17
#2CB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CB951
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CB951#FFFFFF#000000##000000
##2CB9511.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.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: #2cb951;
/* rgb */ color: rgb(44, 185, 81);
/* oklch */ color: oklch(69.1% 0.186 147.5);
Tailwind
colors: {
  custom: {
    50: '#7ccf85',
    500: '#2cb951',
    950: '#000000',
  },
}
SCSS
$custom: #2cb951;
$custom-light: #7ccf85;
$custom-dark: #000000;
JSON
{
  "hex": "#2cb951",
  "rgb": {
    "r": 44,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 135.745,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69078,
    "c": 0.18614,
    "h": 147.5
  },
  "luminance": 0.35827
}

Semantic roles & 50–950 ramp

primary
#2CB951
secondary
#C978B4
accent
#43BAE5
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #2CB951

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

Preview Lab → · Contrast checker → · Palette generator →

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