#2D9545#2D9545

#2D9545 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.150 H 147.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2D9545
RGBrgb(45, 149, 69)
HSLhsl(134, 54%, 38%)
HSVhsv(134, 70%, 58%)
CMYKcmyk(69.8%, 0%, 53.7%, 41.6%)
CIE-LABlab(54.53, -47.05, 33.57)
CIE-LCHlch(54.53, 57.80, 144.50°)
OKLaboklab(59.23% -0.1268 0.0808)
OKLCHoklch(59.23% 0.15 147.5)
XYZxyz(12.9029, 22.4811, 9.2884)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9545 #952D7D
analogous
#49952D #2D9545 #2D9579
triadic
#2D9545 #452D95 #95452D
tetradic
#2D9545 #2D4995 #952D7D #95792D
square
#2D9545 #2D4995 #952D7D #95792D
split-complementary
#2D9545 #792D95 #952D49
monochromatic
#113719 #1F662F #2D9545 #3BC45B #6AD282

Accessibility & contrast

On white

3.82
#2D9545 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#2D9545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9545
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9545#FFFFFF#000000##000000
##2D95451.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883E
Deuteranopia (green-blind)
#8A7F4B
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2d9545;
/* rgb */ color: rgb(45, 149, 69);
/* oklch */ color: oklch(59.2% 0.150 147.5);
Tailwind
colors: {
  custom: {
    50: '#74b57a',
    500: '#2d9545',
    950: '#000000',
  },
}
SCSS
$custom: #2d9545;
$custom-light: #74b57a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9545",
  "rgb": {
    "r": 45,
    "g": 149,
    "b": 69
  },
  "hsl": {
    "h": 133.846,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.15037,
    "h": 147.5
  },
  "luminance": 0.22482
}

Semantic roles & 50–950 ramp

primary
#2D9545
secondary
#B965A6
accent
#4BBBDD
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D9545

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

Preview Lab → · Contrast checker → · Palette generator →

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