#2C8240#2C8240

#2C8240 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.129 H 148.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2C8240
RGBrgb(44, 130, 64)
HSLhsl(134, 49%, 34%)
HSVhsv(134, 66%, 51%)
CMYKcmyk(66.2%, 0%, 50.8%, 49%)
CIE-LABlab(48.10, -40.66, 28.23)
CIE-LCHlch(48.10, 49.50, 145.23°)
OKLaboklab(53.88% -0.1097 0.0685)
OKLCHoklch(53.88% 0.129 148)
XYZxyz(9.9460, 16.8699, 7.5816)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8240 #822C6E
analogous
#43822C #2C8240 #2C826B
triadic
#2C8240 #402C82 #82402C
tetradic
#2C8240 #2C4382 #822C6E #826B2C
square
#2C8240 #2C4382 #822C6E #826B2C
split-complementary
#2C8240 #6B2C82 #822C43
monochromatic
#0D2713 #1D5429 #2C8240 #3BB057 #5FC978

Accessibility & contrast

On white

4.80
#2C8240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2C8240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8240
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8240#FFFFFF#000000##FFFFFF
##2C82401.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773B
Deuteranopia (green-blind)
#796F45
Tritanopia (blue-blind)
#107F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8240;
/* rgb */ color: rgb(44, 130, 64);
/* oklch */ color: oklch(53.9% 0.129 148.0);
Tailwind
colors: {
  custom: {
    50: '#70a776',
    500: '#2c8240',
    950: '#000000',
  },
}
SCSS
$custom: #2c8240;
$custom-light: #70a776;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8240",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 133.953,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.12938,
    "h": 148
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#2C8240
secondary
#AF5B9B
accent
#4FB9D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2C8240

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

Preview Lab → · Contrast checker → · Palette generator →

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