#2C8F52#2C8F52

#2C8F52 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.130 H 152.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2C8F52
RGBrgb(44, 143, 82)
HSLhsl(143, 53%, 37%)
HSVhsv(143, 69%, 56%)
CMYKcmyk(69.2%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.72, -42.72, 24.38)
CIE-LCHlch(52.72, 49.19, 150.29°)
OKLaboklab(57.78% -0.1152 0.0604)
OKLCHoklch(57.78% 0.13 152.3)
XYZxyz(12.3831, 20.7882, 11.3409)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F52 #8F2C69
analogous
#388F2C #2C8F52 #2C8F84
triadic
#2C8F52 #522C8F #8F522C
tetradic
#2C8F52 #2C388F #8F2C69 #8F842C
square
#2C8F52 #2C388F #8F2C69 #8F842C
split-complementary
#2C8F52 #842C8F #8F2C38
monochromatic
#0F311C #1E6037 #2C8F52 #3ABE6D #66D08E

Accessibility & contrast

On white

4.07
#2C8F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2C8F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F52
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F52#FFFFFF#000000##000000
##2C8F521.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#837A56
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c8f52;
/* rgb */ color: rgb(44, 143, 82);
/* oklch */ color: oklch(57.8% 0.130 152.3);
Tailwind
colors: {
  custom: {
    50: '#72b183',
    500: '#2c8f52',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f52;
$custom-light: #72b183;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f52",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 143.03,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.13012,
    "h": 152.3
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#2C8F52
secondary
#B66195
accent
#4BA5DC
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2C8F52

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

Preview Lab → · Contrast checker → · Palette generator →

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