#2C8D52#2C8D52

#2C8D52 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.127 H 152.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2C8D52
RGBrgb(44, 141, 82)
HSLhsl(144, 52%, 36%)
HSVhsv(144, 69%, 55%)
CMYKcmyk(68.8%, 0%, 41.8%, 44.7%)
CIE-LABlab(52.05, -41.91, 23.51)
CIE-LCHlch(52.05, 48.06, 150.71°)
OKLaboklab(57.24% -0.1131 0.0584)
OKLCHoklch(57.24% 0.127 152.7)
XYZxyz(12.0856, 20.1931, 11.2417)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D52 #8D2C67
analogous
#378D2C #2C8D52 #2C8D83
triadic
#2C8D52 #522C8D #8D522C
tetradic
#2C8D52 #2C378D #8D2C67 #8D832C
square
#2C8D52 #2C378D #8D2C67 #8D832C
split-complementary
#2C8D52 #832C8D #8D2C37
monochromatic
#0F301C #1D5E37 #2C8D52 #3BBC6D #65CF8E

Accessibility & contrast

On white

4.17
#2C8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2C8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D52
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D52#FFFFFF#000000##000000
##2C8D521.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8d52;
/* rgb */ color: rgb(44, 141, 82);
/* oklch */ color: oklch(57.2% 0.127 152.7);
Tailwind
colors: {
  custom: {
    50: '#72af83',
    500: '#2c8d52',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d52;
$custom-light: #72af83;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d52",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 143.505,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.1273,
    "h": 152.7
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#2C8D52
secondary
#B56094
accent
#4CA3DC
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2C8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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