#2C8951#2C8951

#2C8951 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.123 H 153.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2C8951
RGBrgb(44, 137, 81)
HSLhsl(144, 51%, 35%)
HSVhsv(144, 68%, 54%)
CMYKcmyk(67.9%, 0%, 40.9%, 46.3%)
CIE-LABlab(50.71, -40.47, 22.30)
CIE-LCHlch(50.71, 46.21, 151.15°)
OKLaboklab(56.13% -0.1093 0.0555)
OKLCHoklch(56.13% 0.123 153.1)
XYZxyz(11.4686, 19.0197, 10.8497)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8951 #892C64
analogous
#35892C #2C8951 #2C897F
triadic
#2C8951 #512C89 #89512C
tetradic
#2C8951 #2C3589 #892C64 #897F2C
square
#2C8951 #2C3589 #892C64 #897F2C
split-complementary
#2C8951 #7F2C89 #892C35
monochromatic
#0E2C1A #1D5B36 #2C8951 #3BB76C #63CD8D

Accessibility & contrast

On white

4.37
#2C8951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2C8951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8951
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8951#FFFFFF#000000##000000
##2C89511.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4D
Deuteranopia (green-blind)
#7D7555
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8951;
/* rgb */ color: rgb(44, 137, 81);
/* oklch */ color: oklch(56.1% 0.123 153.1);
Tailwind
colors: {
  custom: {
    50: '#71ac82',
    500: '#2c8951',
    950: '#000000',
  },
}
SCSS
$custom: #2c8951;
$custom-light: #71ac82;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8951",
  "rgb": {
    "r": 44,
    "g": 137,
    "b": 81
  },
  "hsl": {
    "h": 143.871,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.12259,
    "h": 153.1
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#2C8951
secondary
#B35E91
accent
#4DA2DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C8951

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

Preview Lab → · Contrast checker → · Palette generator →

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