#2C8C4F#2C8C4F

#2C8C4F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.129 H 151.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2C8C4F
RGBrgb(44, 140, 79)
HSLhsl(142, 52%, 36%)
HSVhsv(142, 69%, 55%)
CMYKcmyk(68.6%, 0%, 43.6%, 45.1%)
CIE-LABlab(51.67, -42.07, 24.66)
CIE-LCHlch(51.67, 48.76, 149.62°)
OKLaboklab(56.91% -0.1135 0.061)
OKLCHoklch(56.91% 0.129 151.8)
XYZxyz(11.8271, 19.8549, 10.6047)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C4F #8C2C69
analogous
#398C2C #2C8C4F #2C8C7F
triadic
#2C8C4F #4F2C8C #8C4F2C
tetradic
#2C8C4F #2C398C #8C2C69 #8C7F2C
square
#2C8C4F #2C398C #8C2C69 #8C7F2C
split-complementary
#2C8C4F #7F2C8C #8C2C39
monochromatic
#0F2F1A #1D5D35 #2C8C4F #3BBB69 #64CE8B

Accessibility & contrast

On white

4.22
#2C8C4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2C8C4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C4F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C4F#FFFFFF#000000##000000
##2C8C4F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804B
Deuteranopia (green-blind)
#807853
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8c4f;
/* rgb */ color: rgb(44, 140, 79);
/* oklch */ color: oklch(56.9% 0.129 151.8);
Tailwind
colors: {
  custom: {
    50: '#72ae81',
    500: '#2c8c4f',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c4f;
$custom-light: #72ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c4f",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 79
  },
  "hsl": {
    "h": 141.875,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.12883,
    "h": 151.8
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#2C8C4F
secondary
#B55F95
accent
#4CA7DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2C8C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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