#2C8B4F#2C8B4F

#2C8B4F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.127 H 151.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2C8B4F
RGBrgb(44, 139, 79)
HSLhsl(142, 52%, 36%)
HSVhsv(142, 68%, 55%)
CMYKcmyk(68.3%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.34, -41.67, 24.23)
CIE-LCHlch(51.34, 48.20, 149.83°)
OKLaboklab(56.63% -0.1124 0.06)
OKLCHoklch(56.63% 0.127 151.9)
XYZxyz(11.6816, 19.5640, 10.5562)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B4F #8B2C68
analogous
#388B2C #2C8B4F #2C8B7E
triadic
#2C8B4F #4F2C8B #8B4F2C
tetradic
#2C8B4F #2C388B #8B2C68 #8B7E2C
square
#2C8B4F #2C388B #8B2C68 #8B7E2C
split-complementary
#2C8B4F #7E2C8B #8B2C38
monochromatic
#0F2E1A #1D5D35 #2C8B4F #3BB969 #64CE8B

Accessibility & contrast

On white

4.27
#2C8B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#2C8B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B4F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B4F#FFFFFF#000000##000000
##2C8B4F1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#7F7753
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8b4f;
/* rgb */ color: rgb(44, 139, 79);
/* oklch */ color: oklch(56.6% 0.127 151.9);
Tailwind
colors: {
  custom: {
    50: '#71ae81',
    500: '#2c8b4f',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b4f;
$custom-light: #71ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b4f",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 142.105,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.12742,
    "h": 151.9
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#2C8B4F
secondary
#B45F95
accent
#4CA7DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2C8B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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