#2D8F45#2D8F45

#2D8F45 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.142 H 148.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2D8F45
RGBrgb(45, 143, 69)
HSLhsl(135, 52%, 37%)
HSVhsv(135, 69%, 56%)
CMYKcmyk(68.5%, 0%, 51.7%, 43.9%)
CIE-LABlab(52.54, -44.77, 31.12)
CIE-LCHlch(52.54, 54.52, 145.19°)
OKLaboklab(57.58% -0.1207 0.0753)
OKLCHoklch(57.58% 0.142 148)
XYZxyz(11.9779, 20.6312, 8.9800)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F45 #8F2D77
analogous
#468F2D #2D8F45 #2D8F76
triadic
#2D8F45 #452D8F #8F452D
tetradic
#2D8F45 #2D468F #8F2D77 #8F762D
square
#2D8F45 #2D468F #8F2D77 #8F762D
split-complementary
#2D8F45 #762D8F #8F2D46
monochromatic
#103218 #1E602F #2D8F45 #3CBE5B #67CF81

Accessibility & contrast

On white

4.10
#2D8F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2D8F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F45
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F45#FFFFFF#000000##000000
##2D8F451.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#847A4A
Tritanopia (blue-blind)
#048C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f45;
/* rgb */ color: rgb(45, 143, 69);
/* oklch */ color: oklch(57.6% 0.142 148.0);
Tailwind
colors: {
  custom: {
    50: '#73b17a',
    500: '#2d8f45',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f45;
$custom-light: #73b17a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f45",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 134.694,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57582,
    "c": 0.14227,
    "h": 148
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#2D8F45
secondary
#B662A1
accent
#4CB8DC
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D8F45

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

Preview Lab → · Contrast checker → · Palette generator →

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