#2D952B#2D952B

#2D952B is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.171 H 142.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2D952B
RGBrgb(45, 149, 43)
HSLhsl(119, 55%, 38%)
HSVhsv(119, 71%, 58%)
CMYKcmyk(69.8%, 0%, 71.1%, 41.6%)
CIE-LABlab(54.27, -50.20, 45.34)
CIE-LCHlch(54.27, 67.65, 137.91°)
OKLaboklab(58.92% -0.1364 0.1036)
OKLCHoklch(58.92% 0.171 142.8)
XYZxyz(12.2650, 22.2259, 5.9287)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D952B #932B95
analogous
#62952B #2D952B #2B955E
triadic
#2D952B #2B2D95 #952B2D
tetradic
#2D952B #2B6295 #932B95 #955E2B
square
#2D952B #2B6295 #932B95 #955E2B
split-complementary
#2D952B #5E2B95 #952B62
monochromatic
#103610 #1F661D #2D952B #3BC439 #69D367

Accessibility & contrast

On white

3.86
#2D952B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2D952B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D952B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D952B#FFFFFF#000000##000000
##2D952B1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871B
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#119180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2d952b;
/* rgb */ color: rgb(45, 149, 43);
/* oklch */ color: oklch(58.9% 0.171 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b56a',
    500: '#2d952b',
    950: '#000000',
  },
}
SCSS
$custom: #2d952b;
$custom-light: #75b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d952b",
  "rgb": {
    "r": 45,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 118.868,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58918,
    "c": 0.17132,
    "h": 142.8
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

primary
#2D952B
secondary
#B862BA
accent
#49DFDC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D952B

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

Preview Lab → · Contrast checker → · Palette generator →

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