#2D8C50#2D8C50

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

Color values

HEX#2D8C50
RGBrgb(45, 140, 80)
HSLhsl(142, 51%, 36%)
HSVhsv(142, 68%, 55%)
CMYKcmyk(67.9%, 0%, 42.9%, 45.1%)
CIE-LABlab(51.71, -41.69, 24.17)
CIE-LCHlch(51.71, 48.19, 149.90°)
OKLaboklab(56.95% -0.1125 0.0599)
OKLCHoklch(56.95% 0.127 152)
XYZxyz(11.9073, 19.8920, 10.7999)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C50 #8C2D69
analogous
#3A8C2D #2D8C50 #2D8C80
triadic
#2D8C50 #502D8C #8C502D
tetradic
#2D8C50 #2D3A8C #8C2D69 #8C802D
square
#2D8C50 #2D3A8C #8C2D69 #8C802D
split-complementary
#2D8C50 #802D8C #8C2D3A
monochromatic
#0F2F1B #1E5E36 #2D8C50 #3CBA6A #66CE8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8C50#FFFFFF#000000##000000
##2D8C501.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)
#8C804C
Deuteranopia (green-blind)
#807854
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8c50;
/* rgb */ color: rgb(45, 140, 80);
/* oklch */ color: oklch(57.0% 0.127 152.0);
Tailwind
colors: {
  custom: {
    50: '#72ae82',
    500: '#2d8c50',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c50;
$custom-light: #72ae82;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c50",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 80
  },
  "hsl": {
    "h": 142.105,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.12744,
    "h": 152
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#2D8C50
secondary
#B46095
accent
#4DA7DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2D8C50

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

Preview Lab → · Contrast checker → · Palette generator →

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