#2C8E52#2C8E52

#2C8E52 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.129 H 152.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2C8E52
RGBrgb(44, 142, 82)
HSLhsl(143, 53%, 36%)
HSVhsv(143, 69%, 56%)
CMYKcmyk(69%, 0%, 42.3%, 44.3%)
CIE-LABlab(52.39, -42.32, 23.94)
CIE-LCHlch(52.39, 48.62, 150.50°)
OKLaboklab(57.51% -0.1142 0.0594)
OKLCHoklch(57.51% 0.129 152.5)
XYZxyz(12.2337, 20.4894, 11.2911)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E52 #8E2C68
analogous
#378E2C #2C8E52 #2C8E83
triadic
#2C8E52 #522C8E #8E522C
tetradic
#2C8E52 #2C378E #8E2C68 #8E832C
square
#2C8E52 #2C378E #8E2C68 #8E832C
split-complementary
#2C8E52 #832C8E #8E2C37
monochromatic
#0F311C #1E5F37 #2C8E52 #3ABD6D #65CF8E

Accessibility & contrast

On white

4.12
#2C8E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2C8E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E52
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E52#FFFFFF#000000##000000
##2C8E521.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824E
Deuteranopia (green-blind)
#827A56
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c8e52;
/* rgb */ color: rgb(44, 142, 82);
/* oklch */ color: oklch(57.5% 0.129 152.5);
Tailwind
colors: {
  custom: {
    50: '#72b083',
    500: '#2c8e52',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e52;
$custom-light: #72b083;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e52",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 82
  },
  "hsl": {
    "h": 143.265,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.12871,
    "h": 152.5
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#2C8E52
secondary
#B66095
accent
#4CA4DC
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2C8E52

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

Preview Lab → · Contrast checker → · Palette generator →

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