#2C8B52#2C8B52

#2C8B52 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.124 H 153.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2C8B52
RGBrgb(44, 139, 82)
HSLhsl(144, 52%, 36%)
HSVhsv(144, 68%, 55%)
CMYKcmyk(68.3%, 0%, 41%, 45.5%)
CIE-LABlab(51.39, -41.10, 22.64)
CIE-LCHlch(51.39, 46.92, 151.15°)
OKLaboklab(56.69% -0.111 0.0563)
OKLCHoklch(56.69% 0.124 153.1)
XYZxyz(11.7933, 19.6086, 11.1443)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B52 #8B2C65
analogous
#358B2C #2C8B52 #2C8B81
triadic
#2C8B52 #522C8B #8B522C
tetradic
#2C8B52 #2C358B #8B2C65 #8B812C
square
#2C8B52 #2C358B #8B2C65 #8B812C
split-complementary
#2C8B52 #812C8B #8B2C35
monochromatic
#0F2E1B #1D5D37 #2C8B52 #3BB96D #64CE8E

Accessibility & contrast

On white

4.27
#2C8B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2C8B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B52
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B52#FFFFFF#000000##000000
##2C8B521.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804E
Deuteranopia (green-blind)
#7F7756
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8b52;
/* rgb */ color: rgb(44, 139, 82);
/* oklch */ color: oklch(56.7% 0.124 153.1);
Tailwind
colors: {
  custom: {
    50: '#71ae83',
    500: '#2c8b52',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b52;
$custom-light: #71ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b52",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 82
  },
  "hsl": {
    "h": 144,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.12446,
    "h": 153.1
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#2C8B52
secondary
#B45F92
accent
#4CA2DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C8B52

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

Preview Lab → · Contrast checker → · Palette generator →

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