#2D951D#2D951D

#2D951D is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.179 H 141.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2D951D
RGBrgb(45, 149, 29)
HSLhsl(112, 67%, 35%)
HSVhsv(112, 81%, 58%)
CMYKcmyk(69.8%, 0%, 80.5%, 41.6%)
CIE-LABlab(54.18, -51.29, 50.34)
CIE-LCHlch(54.18, 71.87, 135.54°)
OKLaboklab(58.81% -0.1401 0.1121)
OKLCHoklch(58.81% 0.179 141.3)
XYZxyz(12.0508, 22.1402, 4.8006)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D951D #851D95
analogous
#69951D #2D951D #1D9549
triadic
#2D951D #1D2D95 #951D2D
tetradic
#2D951D #1D6995 #851D95 #95491D
square
#2D951D #1D6995 #851D95 #95491D
split-complementary
#2D951D #491D95 #951D69
monochromatic
#0E2F09 #1E6213 #2D951D #3CC827 #62DD50

Accessibility & contrast

On white

3.87
#2D951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2D951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D951D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D951D#FFFFFF#000000##000000
##2D951D1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#15907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2d951d;
/* rgb */ color: rgb(45, 149, 29);
/* oklch */ color: oklch(58.8% 0.179 141.3);
Tailwind
colors: {
  custom: {
    50: '#76b563',
    500: '#2d951d',
    950: '#000000',
  },
}
SCSS
$custom: #2d951d;
$custom-light: #76b563;
$custom-dark: #000000;
JSON
{
  "hex": "#2d951d",
  "rgb": {
    "r": 45,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 112,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.17944,
    "h": 141.3
  },
  "luminance": 0.22141
}

Semantic roles & 50–950 ramp

primary
#2D951D
secondary
#B04EC0
accent
#3DEAD3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D951D

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

Preview Lab → · Contrast checker → · Palette generator →

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