#2C8041#2C8041

#2C8041 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.126 H 148.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2C8041
RGBrgb(44, 128, 65)
HSLhsl(135, 49%, 34%)
HSVhsv(135, 66%, 50%)
CMYKcmyk(65.6%, 0%, 49.2%, 49.8%)
CIE-LABlab(47.44, -39.68, 26.86)
CIE-LCHlch(47.44, 47.92, 145.90°)
OKLaboklab(53.34% -0.1071 0.0655)
OKLCHoklch(53.34% 0.126 148.6)
XYZxyz(9.7113, 16.3545, 7.6449)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8041 #802C6B
analogous
#41802C #2C8041 #2C806B
triadic
#2C8041 #412C80 #80412C
tetradic
#2C8041 #2C4180 #802C6B #806B2C
square
#2C8041 #2C4180 #802C6B #806B2C
split-complementary
#2C8041 #6B2C80 #802C41
monochromatic
#0D2513 #1C522A #2C8041 #3CAE58 #5FC879

Accessibility & contrast

On white

4.92
#2C8041 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2C8041 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8041
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8041#FFFFFF#000000##FFFFFF
##2C80411.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753C
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#117D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8041;
/* rgb */ color: rgb(44, 128, 65);
/* oklch */ color: oklch(53.3% 0.126 148.6);
Tailwind
colors: {
  custom: {
    50: '#6fa677',
    500: '#2c8041',
    950: '#000000',
  },
}
SCSS
$custom: #2c8041;
$custom-light: #6fa677;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8041",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 65
  },
  "hsl": {
    "h": 135,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.12555,
    "h": 148.6
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#2C8041
secondary
#AE5A99
accent
#4FB6D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2C8041

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

Preview Lab → · Contrast checker → · Palette generator →

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