#2D8B51#2D8B51

#2D8B51 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.125 H 152.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2D8B51
RGBrgb(45, 139, 81)
HSLhsl(143, 51%, 36%)
HSVhsv(143, 68%, 55%)
CMYKcmyk(67.6%, 0%, 41.7%, 45.5%)
CIE-LABlab(51.40, -41.09, 23.21)
CIE-LCHlch(51.40, 47.19, 150.54°)
OKLaboklab(56.7% -0.111 0.0576)
OKLCHoklch(56.7% 0.125 152.6)
XYZxyz(11.7990, 19.6160, 10.9474)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B51 #8B2D67
analogous
#388B2D #2D8B51 #2D8B80
triadic
#2D8B51 #512D8B #8B512D
tetradic
#2D8B51 #2D388B #8B2D67 #8B802D
square
#2D8B51 #2D388B #8B2D67 #8B802D
split-complementary
#2D8B51 #802D8B #8B2D38
monochromatic
#0F2F1B #1E5D36 #2D8B51 #3CB96C #65CD8D

Accessibility & contrast

On white

4.27
#2D8B51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2D8B51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B51
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B51#FFFFFF#000000##000000
##2D8B511.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804D
Deuteranopia (green-blind)
#7F7755
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8b51;
/* rgb */ color: rgb(45, 139, 81);
/* oklch */ color: oklch(56.7% 0.125 152.6);
Tailwind
colors: {
  custom: {
    50: '#72ae82',
    500: '#2d8b51',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b51;
$custom-light: #72ae82;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b51",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 81
  },
  "hsl": {
    "h": 142.979,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.567,
    "c": 0.12503,
    "h": 152.6
  },
  "luminance": 0.19617
}

Semantic roles & 50–950 ramp

primary
#2D8B51
secondary
#B46094
accent
#4DA4DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2D8B51

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

Preview Lab → · Contrast checker → · Palette generator →

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