#2C8F40#2C8F40

#2C8F40 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.147 H 146.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2C8F40
RGBrgb(44, 143, 64)
HSLhsl(132, 53%, 37%)
HSVhsv(132, 69%, 56%)
CMYKcmyk(69.2%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.45, -45.72, 33.58)
CIE-LCHlch(52.45, 56.73, 143.71°)
OKLaboklab(57.48% -0.1233 0.0805)
OKLCHoklch(57.48% 0.147 146.9)
XYZxyz(11.7857, 20.5493, 8.1948)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F40 #8F2C7B
analogous
#4A8F2C #2C8F40 #2C8F72
triadic
#2C8F40 #402C8F #8F402C
tetradic
#2C8F40 #2C4A8F #8F2C7B #8F722C
square
#2C8F40 #2C4A8F #8F2C7B #8F722C
split-complementary
#2C8F40 #722C8F #8F2C4A
monochromatic
#0F3116 #1E602B #2C8F40 #3ABE55 #66D07B

Accessibility & contrast

On white

4.11
#2C8F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2C8F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F40
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F40#FFFFFF#000000##000000
##2C8F401.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#058C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c8f40;
/* rgb */ color: rgb(44, 143, 64);
/* oklch */ color: oklch(57.5% 0.147 146.9);
Tailwind
colors: {
  custom: {
    50: '#73b177',
    500: '#2c8f40',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f40;
$custom-light: #73b177;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f40",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 132.121,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.14727,
    "h": 146.9
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#2C8F40
secondary
#B661A5
accent
#4BBFDC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2C8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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