#2C8D51#2C8D51

#2C8D51 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.128 H 152.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2C8D51
RGBrgb(44, 141, 81)
HSLhsl(143, 52%, 36%)
HSVhsv(143, 69%, 55%)
CMYKcmyk(68.8%, 0%, 42.6%, 44.7%)
CIE-LABlab(52.04, -42.10, 24.04)
CIE-LCHlch(52.04, 48.48, 150.28°)
OKLaboklab(57.22% -0.1136 0.0596)
OKLCHoklch(57.22% 0.128 152.3)
XYZxyz(12.0478, 20.1780, 11.0428)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D51 #8D2C68
analogous
#388D2C #2C8D51 #2C8D82
triadic
#2C8D51 #512C8D #8D512C
tetradic
#2C8D51 #2C388D #8D2C68 #8D822C
square
#2C8D51 #2C388D #8D2C68 #8D822C
split-complementary
#2C8D51 #822C8D #8D2C38
monochromatic
#0F301B #1D5E36 #2C8D51 #3BBC6C #65CF8D

Accessibility & contrast

On white

4.17
#2C8D51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2C8D51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D51
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D51#FFFFFF#000000##000000
##2C8D511.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814D
Deuteranopia (green-blind)
#817955
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8d51;
/* rgb */ color: rgb(44, 141, 81);
/* oklch */ color: oklch(57.2% 0.128 152.3);
Tailwind
colors: {
  custom: {
    50: '#72af82',
    500: '#2c8d51',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d51;
$custom-light: #72af82;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d51",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 142.887,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.12828,
    "h": 152.3
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#2C8D51
secondary
#B56095
accent
#4CA5DC
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2C8D51

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

Preview Lab → · Contrast checker → · Palette generator →

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