#2D9740#2D9740

#2D9740 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.157 H 146.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2D9740
RGBrgb(45, 151, 64)
HSLhsl(131, 54%, 38%)
HSVhsv(131, 70%, 59%)
CMYKcmyk(70.2%, 0%, 57.6%, 40.8%)
CIE-LABlab(55.13, -48.51, 36.80)
CIE-LCHlch(55.13, 60.89, 142.82°)
OKLaboklab(59.7% -0.1309 0.0875)
OKLCHoklch(59.7% 0.157 146.2)
XYZxyz(13.0733, 23.0599, 8.6115)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9740 #972D84
analogous
#4F972D #2D9740 #2D9775
triadic
#2D9740 #402D97 #97402D
tetradic
#2D9740 #2D4F97 #972D84 #97752D
square
#2D9740 #2D4F97 #972D84 #97752D
split-complementary
#2D9740 #752D97 #972D4F
monochromatic
#113918 #1F682C #2D9740 #3CC555 #6BD37E

Accessibility & contrast

On white

3.74
#2D9740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#2D9740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9740
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9740#FFFFFF#000000##000000
##2D97401.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#8C8147
Tritanopia (blue-blind)
#009384
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d9740;
/* rgb */ color: rgb(45, 151, 64);
/* oklch */ color: oklch(59.7% 0.157 146.2);
Tailwind
colors: {
  custom: {
    50: '#75b777',
    500: '#2d9740',
    950: '#000000',
  },
}
SCSS
$custom: #2d9740;
$custom-light: #75b777;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9740",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 130.755,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59702,
    "c": 0.15748,
    "h": 146.2
  },
  "luminance": 0.23061
}

Semantic roles & 50–950 ramp

primary
#2D9740
secondary
#BA66AB
accent
#4AC3DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D9740

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

Preview Lab → · Contrast checker → · Palette generator →

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