#2C8540#2C8540

#2C8540 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.134 H 147.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C8540
RGBrgb(44, 133, 64)
HSLhsl(133, 50%, 35%)
HSVhsv(133, 67%, 52%)
CMYKcmyk(66.9%, 0%, 51.9%, 47.8%)
CIE-LABlab(49.11, -41.85, 29.48)
CIE-LCHlch(49.11, 51.20, 144.84°)
OKLaboklab(54.72% -0.1129 0.0714)
OKLCHoklch(54.72% 0.134 147.7)
XYZxyz(10.3509, 17.6796, 7.7165)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8540 #852C71
analogous
#45852C #2C8540 #2C856C
triadic
#2C8540 #402C85 #85402C
tetradic
#2C8540 #2C4585 #852C71 #856C2C
square
#2C8540 #2C4585 #852C71 #856C2C
split-complementary
#2C8540 #6C2C85 #852C45
monochromatic
#0E2914 #1D572A #2C8540 #3BB356 #61CB79

Accessibility & contrast

On white

4.63
#2C8540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2C8540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8540
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8540#FFFFFF#000000##FFFFFF
##2C85401.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7B7245
Tritanopia (blue-blind)
#0E8275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c8540;
/* rgb */ color: rgb(44, 133, 64);
/* oklch */ color: oklch(54.7% 0.134 147.7);
Tailwind
colors: {
  custom: {
    50: '#70a976',
    500: '#2c8540',
    950: '#000000',
  },
}
SCSS
$custom: #2c8540;
$custom-light: #70a976;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8540",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 133.483,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54715,
    "c": 0.1336,
    "h": 147.7
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#2C8540
secondary
#B15C9E
accent
#4EBADA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C8540

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

Preview Lab → · Contrast checker → · Palette generator →

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