#2C8D38#2C8D38

#2C8D38 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.152 H 145.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2C8D38
RGBrgb(44, 141, 56)
HSLhsl(127, 52%, 36%)
HSVhsv(127, 69%, 55%)
CMYKcmyk(68.8%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.69, -46.08, 36.66)
CIE-LCHlch(51.69, 58.88, 141.50°)
OKLaboklab(56.82% -0.1246 0.0866)
OKLCHoklch(56.82% 0.152 145.2)
XYZxyz(11.2767, 19.8696, 6.9815)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D38 #8D2C81
analogous
#518D2C #2C8D38 #2C8D69
triadic
#2C8D38 #382C8D #8D382C
tetradic
#2C8D38 #2C518D #8D2C81 #8D692C
square
#2C8D38 #2C518D #8D2C81 #8D692C
split-complementary
#2C8D38 #692C8D #8D2C51
monochromatic
#0F3013 #1D5E25 #2C8D38 #3BBC4B #65CF72

Accessibility & contrast

On white

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

On black

4.97
#2C8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D38
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D38#FFFFFF#000000##000000
##2C8D381.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#0D897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d38;
/* rgb */ color: rgb(44, 141, 56);
/* oklch */ color: oklch(56.8% 0.152 145.2);
Tailwind
colors: {
  custom: {
    50: '#73af71',
    500: '#2c8d38',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d38;
$custom-light: #73af71;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d38",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 127.423,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56817,
    "c": 0.15169,
    "h": 145.2
  },
  "luminance": 0.19871
}

Semantic roles & 50–950 ramp

primary
#2C8D38
secondary
#B560AB
accent
#4CCADC
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2C8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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