#2D8A40#2D8A40

#2D8A40 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.140 H 147.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2D8A40
RGBrgb(45, 138, 64)
HSLhsl(132, 51%, 36%)
HSVhsv(132, 67%, 54%)
CMYKcmyk(67.4%, 0%, 53.6%, 45.9%)
CIE-LABlab(50.81, -43.60, 31.59)
CIE-LCHlch(50.81, 53.84, 144.08°)
OKLaboklab(56.13% -0.1177 0.0761)
OKLCHoklch(56.13% 0.14 147.1)
XYZxyz(11.0953, 19.1039, 7.9522)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A40 #8A2D77
analogous
#488A2D #2D8A40 #2D8A6E
triadic
#2D8A40 #402D8A #8A402D
tetradic
#2D8A40 #2D488A #8A2D77 #8A6E2D
square
#2D8A40 #2D488A #8A2D77 #8A6E2D
split-complementary
#2D8A40 #6E2D8A #8A2D48
monochromatic
#0F2E15 #1E5C2B #2D8A40 #3CB855 #65CD7A

Accessibility & contrast

On white

4.36
#2D8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2D8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A40
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A40#FFFFFF#000000##000000
##2D8A401.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E39
Deuteranopia (green-blind)
#807645
Tritanopia (blue-blind)
#0E8779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8a40;
/* rgb */ color: rgb(45, 138, 64);
/* oklch */ color: oklch(56.1% 0.140 147.1);
Tailwind
colors: {
  custom: {
    50: '#72ad76',
    500: '#2d8a40',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a40;
$custom-light: #72ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a40",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 132.258,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.14012,
    "h": 147.1
  },
  "luminance": 0.19105
}

Semantic roles & 50–950 ramp

primary
#2D8A40
secondary
#B360A2
accent
#4DBEDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2D8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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