#2D8C4E#2D8C4E

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

Color values

HEX#2D8C4E
RGBrgb(45, 140, 78)
HSLhsl(141, 51%, 36%)
HSVhsv(141, 68%, 55%)
CMYKcmyk(67.9%, 0%, 44.3%, 45.1%)
CIE-LABlab(51.68, -42.06, 25.22)
CIE-LCHlch(51.68, 49.04, 149.05°)
OKLaboklab(56.92% -0.1135 0.0622)
OKLCHoklch(56.92% 0.129 151.3)
XYZxyz(11.8345, 19.8629, 10.4165)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C4E #8C2D6B
analogous
#3C8C2D #2D8C4E #2D8C7E
triadic
#2D8C4E #4E2D8C #8C4E2D
tetradic
#2D8C4E #2D3C8C #8C2D6B #8C7E2D
square
#2D8C4E #2D3C8C #8C2D6B #8C7E2D
split-complementary
#2D8C4E #7E2D8C #8C2D3C
monochromatic
#0F2F1A #1E5E34 #2D8C4E #3CBA68 #66CE8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8C4E#FFFFFF#000000##000000
##2D8C4E1.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)
#8D8049
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8c4e;
/* rgb */ color: rgb(45, 140, 78);
/* oklch */ color: oklch(56.9% 0.129 151.3);
Tailwind
colors: {
  custom: {
    50: '#72ae80',
    500: '#2d8c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c4e;
$custom-light: #72ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c4e",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 140.842,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.12941,
    "h": 151.3
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#2D8C4E
secondary
#B46097
accent
#4DAADB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2D8C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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