#2D8A4F#2D8A4F

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

Color values

HEX#2D8A4F
RGBrgb(45, 138, 79)
HSLhsl(142, 51%, 36%)
HSVhsv(142, 67%, 54%)
CMYKcmyk(67.4%, 0%, 42.8%, 45.9%)
CIE-LABlab(51.03, -41.06, 23.83)
CIE-LCHlch(51.03, 47.48, 149.87°)
OKLaboklab(56.39% -0.1108 0.059)
OKLCHoklch(56.39% 0.126 152)
XYZxyz(11.5810, 19.2981, 10.5102)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A4F #8A2D68
analogous
#398A2D #2D8A4F #2D8A7D
triadic
#2D8A4F #4F2D8A #8A4F2D
tetradic
#2D8A4F #2D398A #8A2D68 #8A7D2D
square
#2D8A4F #2D398A #8A2D68 #8A7D2D
split-complementary
#2D8A4F #7D2D8A #8A2D39
monochromatic
#0F2E1A #1E5C35 #2D8A4F #3CB869 #65CD8B

Accessibility & contrast

On white

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

On black

4.86
#2D8A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A4F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A4F#FFFFFF#000000##000000
##2D8A4F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4B
Deuteranopia (green-blind)
#7F7653
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8a4f;
/* rgb */ color: rgb(45, 138, 79);
/* oklch */ color: oklch(56.4% 0.126 152.0);
Tailwind
colors: {
  custom: {
    50: '#72ad81',
    500: '#2d8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a4f;
$custom-light: #72ad81;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a4f",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 141.935,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.12558,
    "h": 152
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#2D8A4F
secondary
#B36095
accent
#4DA7DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2D8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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