#2C8A51#2C8A51

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

Color values

HEX#2C8A51
RGBrgb(44, 138, 81)
HSLhsl(144, 52%, 36%)
HSVhsv(144, 68%, 54%)
CMYKcmyk(68.1%, 0%, 41.3%, 45.9%)
CIE-LABlab(51.04, -40.88, 22.73)
CIE-LCHlch(51.04, 46.78, 150.92°)
OKLaboklab(56.4% -0.1104 0.0565)
OKLCHoklch(56.4% 0.124 152.9)
XYZxyz(11.6114, 19.3053, 10.8973)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A51 #8A2C65
analogous
#368A2C #2C8A51 #2C8A80
triadic
#2C8A51 #512C8A #8A512C
tetradic
#2C8A51 #2C368A #8A2C65 #8A802C
square
#2C8A51 #2C368A #8A2C65 #8A802C
split-complementary
#2C8A51 #802C8A #8A2C36
monochromatic
#0E2D1B #1D5C36 #2C8A51 #3BB86C #63CD8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8A51#FFFFFF#000000##000000
##2C8A511.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)
#8A7F4D
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8a51;
/* rgb */ color: rgb(44, 138, 81);
/* oklch */ color: oklch(56.4% 0.124 152.9);
Tailwind
colors: {
  custom: {
    50: '#71ad82',
    500: '#2c8a51',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a51;
$custom-light: #71ad82;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a51",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 81
  },
  "hsl": {
    "h": 143.617,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.12402,
    "h": 152.9
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#2C8A51
secondary
#B45E92
accent
#4DA3DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C8A51

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

Preview Lab → · Contrast checker → · Palette generator →

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