#2D8B4F#2D8B4F

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

Color values

HEX#2D8B4F
RGBrgb(45, 139, 79)
HSLhsl(142, 51%, 36%)
HSVhsv(142, 68%, 55%)
CMYKcmyk(67.6%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.37, -41.47, 24.26)
CIE-LCHlch(51.37, 48.05, 149.67°)
OKLaboklab(56.66% -0.1119 0.0601)
OKLCHoklch(56.66% 0.127 151.8)
XYZxyz(11.7251, 19.5864, 10.5583)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B4F #8B2D69
analogous
#3A8B2D #2D8B4F #2D8B7E
triadic
#2D8B4F #4F2D8B #8B4F2D
tetradic
#2D8B4F #2D3A8B #8B2D69 #8B7E2D
square
#2D8B4F #2D3A8B #8B2D69 #8B7E2D
split-complementary
#2D8B4F #7E2D8B #8B2D3A
monochromatic
#0F2F1A #1E5D35 #2D8B4F #3CB969 #65CD8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8B4F#FFFFFF#000000##000000
##2D8B4F1.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)
#8B7F4B
Deuteranopia (green-blind)
#7F7753
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8b4f;
/* rgb */ color: rgb(45, 139, 79);
/* oklch */ color: oklch(56.7% 0.127 151.8);
Tailwind
colors: {
  custom: {
    50: '#72ae81',
    500: '#2d8b4f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b4f;
$custom-light: #72ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b4f",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 141.702,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.12701,
    "h": 151.8
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D8B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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