#2C8242#2C8242

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

Color values

HEX#2C8242
RGBrgb(44, 130, 66)
HSLhsl(135, 49%, 34%)
HSVhsv(135, 66%, 51%)
CMYKcmyk(66.2%, 0%, 49.2%, 49%)
CIE-LABlab(48.13, -40.33, 27.19)
CIE-LCHlch(48.13, 48.64, 146.01°)
OKLaboklab(53.92% -0.1088 0.0663)
OKLCHoklch(53.92% 0.127 148.7)
XYZxyz(10.0040, 16.8931, 7.8867)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8242 #822C6C
analogous
#41822C #2C8242 #2C826D
triadic
#2C8242 #422C82 #82422C
tetradic
#2C8242 #2C4182 #822C6C #826D2C
square
#2C8242 #2C4182 #822C6C #826D2C
split-complementary
#2C8242 #6D2C82 #822C41
monochromatic
#0D2714 #1D542B #2C8242 #3BB059 #5FC97A

Accessibility & contrast

On white

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

On black

4.38
#2C8242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C8242#FFFFFF#000000##FFFFFF
##2C82421.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773D
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#0F7F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8242;
/* rgb */ color: rgb(44, 130, 66);
/* oklch */ color: oklch(53.9% 0.127 148.7);
Tailwind
colors: {
  custom: {
    50: '#70a777',
    500: '#2c8242',
    950: '#000000',
  },
}
SCSS
$custom: #2c8242;
$custom-light: #70a777;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8242",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 66
  },
  "hsl": {
    "h": 135.349,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.12742,
    "h": 148.7
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#2C8242
secondary
#AF5B9A
accent
#4FB6D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C8242

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

Preview Lab → · Contrast checker → · Palette generator →

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