#2C8A52#2C8A52

#2C8A52 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.123 H 153.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2C8A52
RGBrgb(44, 138, 82)
HSLhsl(144, 52%, 36%)
HSVhsv(144, 68%, 54%)
CMYKcmyk(68.1%, 0%, 40.6%, 45.9%)
CIE-LABlab(51.06, -40.69, 22.20)
CIE-LCHlch(51.06, 46.35, 151.38°)
OKLaboklab(56.42% -0.1099 0.0553)
OKLCHoklch(56.42% 0.123 153.3)
XYZxyz(11.6492, 19.3204, 11.0963)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A52 #8A2C64
analogous
#358A2C #2C8A52 #2C8A81
triadic
#2C8A52 #522C8A #8A522C
tetradic
#2C8A52 #2C358A #8A2C64 #8A812C
square
#2C8A52 #2C358A #8A2C64 #8A812C
split-complementary
#2C8A52 #812C8A #8A2C35
monochromatic
#0E2D1B #1D5C36 #2C8A52 #3BB86E #63CD8E

Accessibility & contrast

On white

4.32
#2C8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2C8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A52
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A52#FFFFFF#000000##000000
##2C8A521.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4E
Deuteranopia (green-blind)
#7E7656
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8a52;
/* rgb */ color: rgb(44, 138, 82);
/* oklch */ color: oklch(56.4% 0.123 153.3);
Tailwind
colors: {
  custom: {
    50: '#71ad83',
    500: '#2c8a52',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a52;
$custom-light: #71ad83;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a52",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 144.255,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56418,
    "c": 0.12304,
    "h": 153.3
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

primary
#2C8A52
secondary
#B45E91
accent
#4DA2DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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