#2D8A51#2D8A51

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

Color values

HEX#2D8A51
RGBrgb(45, 138, 81)
HSLhsl(143, 51%, 36%)
HSVhsv(143, 67%, 54%)
CMYKcmyk(67.4%, 0%, 41.3%, 45.9%)
CIE-LABlab(51.07, -40.68, 22.77)
CIE-LCHlch(51.07, 46.62, 150.76°)
OKLaboklab(56.43% -0.1099 0.0566)
OKLCHoklch(56.43% 0.124 152.7)
XYZxyz(11.6549, 19.3277, 10.8994)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A51 #8A2D66
analogous
#378A2D #2D8A51 #2D8A7F
triadic
#2D8A51 #512D8A #8A512D
tetradic
#2D8A51 #2D378A #8A2D66 #8A7F2D
square
#2D8A51 #2D378A #8A2D66 #8A7F2D
split-complementary
#2D8A51 #7F2D8A #8A2D37
monochromatic
#0F2E1B #1E5C36 #2D8A51 #3CB86C #65CD8D

Accessibility & contrast

On white

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

On black

4.87
#2D8A51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A51
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A51#FFFFFF#000000##000000
##2D8A511.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.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: #2d8a51;
/* rgb */ color: rgb(45, 138, 81);
/* oklch */ color: oklch(56.4% 0.124 152.7);
Tailwind
colors: {
  custom: {
    50: '#71ad82',
    500: '#2d8a51',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a51;
$custom-light: #71ad82;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a51",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 81
  },
  "hsl": {
    "h": 143.226,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.12361,
    "h": 152.7
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#2D8A51
secondary
#B36093
accent
#4DA4DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2D8A51

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

Preview Lab → · Contrast checker → · Palette generator →

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