#2C8D3B#2C8D3B

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

Color values

HEX#2C8D3B
RGBrgb(44, 141, 59)
HSLhsl(129, 52%, 36%)
HSVhsv(129, 69%, 55%)
CMYKcmyk(68.8%, 0%, 58.2%, 44.7%)
CIE-LABlab(51.72, -45.68, 35.22)
CIE-LCHlch(51.72, 57.68, 142.36°)
OKLaboklab(56.86% -0.1234 0.0837)
OKLCHoklch(56.86% 0.149 145.8)
XYZxyz(11.3522, 19.8998, 7.3796)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D3B #8D2C7E
analogous
#4E8D2C #2C8D3B #2C8D6C
triadic
#2C8D3B #3B2C8D #8D3B2C
tetradic
#2C8D3B #2C4E8D #8D2C7E #8D6C2C
square
#2C8D3B #2C4E8D #8D2C7E #8D6C2C
split-complementary
#2C8D3B #6C2C8D #8D2C4E
monochromatic
#0F3014 #1D5E27 #2C8D3B #3BBC4F #65CF75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8D3B#FFFFFF#000000##000000
##2C8D3B1.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)
#8F8033
Deuteranopia (green-blind)
#837841
Tritanopia (blue-blind)
#0B8A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d3b;
/* rgb */ color: rgb(44, 141, 59);
/* oklch */ color: oklch(56.9% 0.149 145.8);
Tailwind
colors: {
  custom: {
    50: '#72af73',
    500: '#2c8d3b',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d3b;
$custom-light: #72af73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d3b",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 59
  },
  "hsl": {
    "h": 129.278,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.14909,
    "h": 145.8
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#2C8D3B
secondary
#B560A8
accent
#4CC6DC
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2C8D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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