#2D9542#2D9542

#2D9542 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.153 H 146.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2D9542
RGBrgb(45, 149, 66)
HSLhsl(132, 54%, 38%)
HSVhsv(132, 70%, 58%)
CMYKcmyk(69.8%, 0%, 55.7%, 41.6%)
CIE-LABlab(54.50, -47.49, 35.04)
CIE-LCHlch(54.50, 59.02, 143.58°)
OKLaboklab(59.18% -0.1281 0.0838)
OKLCHoklch(59.18% 0.153 146.8)
XYZxyz(12.8121, 22.4447, 8.8103)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9542 #952D80
analogous
#4C952D #2D9542 #2D9576
triadic
#2D9542 #422D95 #95422D
tetradic
#2D9542 #2D4C95 #952D80 #95762D
square
#2D9542 #2D4C95 #952D80 #95762D
split-complementary
#2D9542 #762D95 #952D4C
monochromatic
#113718 #1F662D #2D9542 #3BC457 #6AD27F

Accessibility & contrast

On white

3.83
#2D9542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2D9542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9542
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9542#FFFFFF#000000##000000
##2D95421.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883A
Deuteranopia (green-blind)
#8A7F48
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2d9542;
/* rgb */ color: rgb(45, 149, 66);
/* oklch */ color: oklch(59.2% 0.153 146.8);
Tailwind
colors: {
  custom: {
    50: '#74b578',
    500: '#2d9542',
    950: '#000000',
  },
}
SCSS
$custom: #2d9542;
$custom-light: #74b578;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9542",
  "rgb": {
    "r": 45,
    "g": 149,
    "b": 66
  },
  "hsl": {
    "h": 132.115,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59182,
    "c": 0.15309,
    "h": 146.8
  },
  "luminance": 0.22446
}

Semantic roles & 50–950 ramp

primary
#2D9542
secondary
#B965A8
accent
#4BBFDD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D9542

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

Preview Lab → · Contrast checker → · Palette generator →

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