#2C8C52#2C8C52

#2C8C52 is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.0% C 0.126 H 152.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2C8C52
RGBrgb(44, 140, 82)
HSLhsl(144, 52%, 36%)
HSVhsv(144, 69%, 55%)
CMYKcmyk(68.6%, 0%, 41.4%, 45.1%)
CIE-LABlab(51.72, -41.51, 23.08)
CIE-LCHlch(51.72, 47.49, 150.93°)
OKLaboklab(56.96% -0.1121 0.0573)
OKLCHoklch(56.96% 0.126 152.9)
XYZxyz(11.9388, 19.8996, 11.1928)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C52 #8C2C66
analogous
#368C2C #2C8C52 #2C8C82
triadic
#2C8C52 #522C8C #8C522C
tetradic
#2C8C52 #2C368C #8C2C66 #8C822C
square
#2C8C52 #2C368C #8C2C66 #8C822C
split-complementary
#2C8C52 #822C8C #8C2C36
monochromatic
#0F2F1B #1D5D37 #2C8C52 #3BBB6D #64CE8E

Accessibility & contrast

On white

4.22
#2C8C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2C8C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C52
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C52#FFFFFF#000000##000000
##2C8C521.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804E
Deuteranopia (green-blind)
#807856
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8c52;
/* rgb */ color: rgb(44, 140, 82);
/* oklch */ color: oklch(57.0% 0.126 152.9);
Tailwind
colors: {
  custom: {
    50: '#71ae83',
    500: '#2c8c52',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c52;
$custom-light: #71ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c52",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 82
  },
  "hsl": {
    "h": 143.75,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.12588,
    "h": 152.9
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#2C8C52
secondary
#B55F93
accent
#4CA3DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2C8C52

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

Preview Lab → · Contrast checker → · Palette generator →

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