#2D9A42#2D9A42

#2D9A42 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.5% C 0.160 H 146.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2D9A42
RGBrgb(45, 154, 66)
HSLhsl(132, 55%, 39%)
HSVhsv(132, 71%, 60%)
CMYKcmyk(70.8%, 0%, 57.1%, 39.6%)
CIE-LABlab(56.15, -49.34, 37.02)
CIE-LCHlch(56.15, 61.68, 143.12°)
OKLaboklab(60.55% -0.1331 0.0882)
OKLCHoklch(60.55% 0.16 146.5)
XYZxyz(13.6202, 24.0609, 9.0796)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9A42 #9A2D85
analogous
#4F9A2D #2D9A42 #2D9A79
triadic
#2D9A42 #422D9A #9A422D
tetradic
#2D9A42 #2D4F9A #9A2D85 #9A792D
square
#2D9A42 #2D4F9A #9A2D85 #9A792D
split-complementary
#2D9A42 #792D9A #9A2D4F
monochromatic
#113B19 #1F6B2E #2D9A42 #3EC758 #6DD481

Accessibility & contrast

On white

3.61
#2D9A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2D9A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9A42
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9A42#FFFFFF#000000##000000
##2D9A421.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#8F8349
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2d9a42;
/* rgb */ color: rgb(45, 154, 66);
/* oklch */ color: oklch(60.5% 0.160 146.5);
Tailwind
colors: {
  custom: {
    50: '#75b979',
    500: '#2d9a42',
    950: '#000000',
  },
}
SCSS
$custom: #2d9a42;
$custom-light: #75b979;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9a42",
  "rgb": {
    "r": 45,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 131.56,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60549,
    "c": 0.15962,
    "h": 146.5
  },
  "luminance": 0.24062
}

Semantic roles & 50–950 ramp

primary
#2D9A42
secondary
#BB67AB
accent
#4AC2DE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D9A42

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

Preview Lab → · Contrast checker → · Palette generator →

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