#2D9040#2D9040

#2D9040 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.148 H 146.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2D9040
RGBrgb(45, 144, 64)
HSLhsl(132, 52%, 37%)
HSVhsv(132, 69%, 56%)
CMYKcmyk(68.7%, 0%, 55.6%, 43.5%)
CIE-LABlab(52.81, -45.90, 34.02)
CIE-LCHlch(52.81, 57.13, 143.46°)
OKLaboklab(57.78% -0.1239 0.0814)
OKLCHoklch(57.78% 0.148 146.7)
XYZxyz(11.9800, 20.8733, 8.2471)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9040 #902D7D
analogous
#4C902D #2D9040 #2D9072
triadic
#2D9040 #402D90 #90402D
tetradic
#2D9040 #2D4C90 #902D7D #90722D
square
#2D9040 #2D4C90 #902D7D #90722D
split-complementary
#2D9040 #722D90 #902D4C
monochromatic
#103317 #1E612B #2D9040 #3CBF55 #68D07C

Accessibility & contrast

On white

4.06
#2D9040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2D9040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9040
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9040#FFFFFF#000000##000000
##2D90401.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#867B46
Tritanopia (blue-blind)
#088D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d9040;
/* rgb */ color: rgb(45, 144, 64);
/* oklch */ color: oklch(57.8% 0.148 146.7);
Tailwind
colors: {
  custom: {
    50: '#73b177',
    500: '#2d9040',
    950: '#000000',
  },
}
SCSS
$custom: #2d9040;
$custom-light: #73b177;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9040",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 64
  },
  "hsl": {
    "h": 131.515,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.14824,
    "h": 146.7
  },
  "luminance": 0.20875
}

Semantic roles & 50–950 ramp

primary
#2D9040
secondary
#B662A6
accent
#4CC0DC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D9040

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

Preview Lab → · Contrast checker → · Palette generator →

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