#2C8852#2C8852

#2C8852 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.120 H 153.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C8852
RGBrgb(44, 136, 82)
HSLhsl(145, 51%, 35%)
HSVhsv(145, 68%, 53%)
CMYKcmyk(67.6%, 0%, 39.7%, 46.7%)
CIE-LABlab(50.40, -39.86, 21.32)
CIE-LCHlch(50.40, 45.21, 151.86°)
OKLaboklab(55.87% -0.1078 0.0532)
OKLCHoklch(55.87% 0.12 153.7)
XYZxyz(11.3649, 18.7518, 11.0015)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8852 #882C62
analogous
#34882C #2C8852 #2C8880
triadic
#2C8852 #522C88 #88522C
tetradic
#2C8852 #2C3488 #882C62 #88802C
square
#2C8852 #2C3488 #882C62 #88802C
split-complementary
#2C8852 #802C88 #882C34
monochromatic
#0E2C1A #1D5A36 #2C8852 #3BB66E #62CC8E

Accessibility & contrast

On white

4.42
#2C8852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2C8852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8852
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8852#FFFFFF#000000##000000
##2C88521.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4E
Deuteranopia (green-blind)
#7C7556
Tritanopia (blue-blind)
#00867A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8852;
/* rgb */ color: rgb(44, 136, 82);
/* oklch */ color: oklch(55.9% 0.120 153.7);
Tailwind
colors: {
  custom: {
    50: '#71ab83',
    500: '#2c8852',
    950: '#000000',
  },
}
SCSS
$custom: #2c8852;
$custom-light: #71ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8852",
  "rgb": {
    "r": 44,
    "g": 136,
    "b": 82
  },
  "hsl": {
    "h": 144.783,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.12018,
    "h": 153.7
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#2C8852
secondary
#B35D8F
accent
#4DA0DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C8852

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

Preview Lab → · Contrast checker → · Palette generator →

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