#2D9742#2D9742

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

Color values

HEX#2D9742
RGBrgb(45, 151, 66)
HSLhsl(132, 54%, 38%)
HSVhsv(132, 70%, 59%)
CMYKcmyk(70.2%, 0%, 56.3%, 40.8%)
CIE-LABlab(55.16, -48.24, 35.83)
CIE-LCHlch(55.16, 60.09, 143.39°)
OKLaboklab(59.73% -0.1301 0.0856)
OKLCHoklch(59.73% 0.156 146.7)
XYZxyz(13.1312, 23.0830, 8.9166)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9742 #972D82
analogous
#4D972D #2D9742 #2D9777
triadic
#2D9742 #422D97 #97422D
tetradic
#2D9742 #2D4D97 #972D82 #97772D
square
#2D9742 #2D4D97 #972D82 #97772D
split-complementary
#2D9742 #772D97 #972D4D
monochromatic
#113919 #1F682D #2D9742 #3CC557 #6BD380

Accessibility & contrast

On white

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

On black

5.62
#2D9742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9742
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9742#FFFFFF#000000##000000
##2D97421.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893A
Deuteranopia (green-blind)
#8C8149
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d9742;
/* rgb */ color: rgb(45, 151, 66);
/* oklch */ color: oklch(59.7% 0.156 146.7);
Tailwind
colors: {
  custom: {
    50: '#75b779',
    500: '#2d9742',
    950: '#000000',
  },
}
SCSS
$custom: #2d9742;
$custom-light: #75b779;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9742",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 66
  },
  "hsl": {
    "h": 131.887,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.15572,
    "h": 146.7
  },
  "luminance": 0.23084
}

Semantic roles & 50–950 ramp

primary
#2D9742
secondary
#BA66A9
accent
#4AC0DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D9742

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

Preview Lab → · Contrast checker → · Palette generator →

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