#2D8B45#2D8B45

#2D8B45 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.137 H 148.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2D8B45
RGBrgb(45, 139, 69)
HSLhsl(135, 51%, 36%)
HSVhsv(135, 68%, 55%)
CMYKcmyk(67.6%, 0%, 50.4%, 45.5%)
CIE-LABlab(51.21, -43.21, 29.47)
CIE-LCHlch(51.21, 52.30, 145.71°)
OKLaboklab(56.48% -0.1165 0.0716)
OKLCHoklch(56.48% 0.137 148.4)
XYZxyz(11.3881, 19.4516, 8.7834)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B45 #8B2D73
analogous
#448B2D #2D8B45 #2D8B74
triadic
#2D8B45 #452D8B #8B452D
tetradic
#2D8B45 #2D448B #8B2D73 #8B742D
square
#2D8B45 #2D448B #8B2D73 #8B742D
split-complementary
#2D8B45 #742D8B #8B2D44
monochromatic
#0F2F17 #1E5D2E #2D8B45 #3CB95C #65CD80

Accessibility & contrast

On white

4.29
#2D8B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2D8B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B45
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B45#FFFFFF#000000##000000
##2D8B451.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F3F
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#08887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8b45;
/* rgb */ color: rgb(45, 139, 69);
/* oklch */ color: oklch(56.5% 0.137 148.4);
Tailwind
colors: {
  custom: {
    50: '#72ae7a',
    500: '#2d8b45',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b45;
$custom-light: #72ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b45",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 135.319,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.13676,
    "h": 148.4
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

primary
#2D8B45
secondary
#B4609E
accent
#4DB6DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2D8B45

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

Preview Lab → · Contrast checker → · Palette generator →

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