#2D8F40#2D8F40

#2D8F40 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.147 H 146.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D8F40
RGBrgb(45, 143, 64)
HSLhsl(132, 52%, 37%)
HSVhsv(132, 69%, 56%)
CMYKcmyk(68.5%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.48, -45.52, 33.62)
CIE-LCHlch(52.48, 56.59, 143.56°)
OKLaboklab(57.51% -0.1228 0.0806)
OKLCHoklch(57.51% 0.147 146.7)
XYZxyz(11.8292, 20.5717, 8.1968)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F40 #8F2D7C
analogous
#4B8F2D #2D8F40 #2D8F71
triadic
#2D8F40 #402D8F #8F402D
tetradic
#2D8F40 #2D4B8F #8F2D7C #8F712D
square
#2D8F40 #2D4B8F #8F2D7C #8F712D
split-complementary
#2D8F40 #712D8F #8F2D4B
monochromatic
#103216 #1E602B #2D8F40 #3CBE55 #67CF7B

Accessibility & contrast

On white

4.11
#2D8F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2D8F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F40
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F40#FFFFFF#000000##000000
##2D8F401.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#098C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f40;
/* rgb */ color: rgb(45, 143, 64);
/* oklch */ color: oklch(57.5% 0.147 146.7);
Tailwind
colors: {
  custom: {
    50: '#73b177',
    500: '#2d8f40',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f40;
$custom-light: #73b177;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f40",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 131.633,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.1469,
    "h": 146.7
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#2D8F40
secondary
#B662A6
accent
#4CC0DC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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