#2D971D#2D971D

#2D971D is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.182 H 141.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2D971D
RGBrgb(45, 151, 29)
HSLhsl(112, 68%, 35%)
HSVhsv(112, 81%, 59%)
CMYKcmyk(70.2%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.84, -51.98, 50.97)
CIE-LCHlch(54.84, 72.80, 135.56°)
OKLaboklab(59.37% -0.1419 0.1135)
OKLCHoklch(59.37% 0.182 141.4)
XYZxyz(12.3699, 22.7785, 4.9069)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D971D #871D97
analogous
#6A971D #2D971D #1D974A
triadic
#2D971D #1D2D97 #971D2D
tetradic
#2D971D #1D6A97 #871D97 #974A1D
square
#2D971D #1D6A97 #871D97 #974A1D
split-complementary
#2D971D #4A1D97 #971D6A
monochromatic
#0E3009 #1E6413 #2D971D #3CCA27 #63DE51

Accessibility & contrast

On white

3.78
#2D971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#2D971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D971D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D971D#FFFFFF#000000##000000
##2D971D1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#149281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2d971d;
/* rgb */ color: rgb(45, 151, 29);
/* oklch */ color: oklch(59.4% 0.182 141.4);
Tailwind
colors: {
  custom: {
    50: '#76b764',
    500: '#2d971d',
    950: '#000000',
  },
}
SCSS
$custom: #2d971d;
$custom-light: #76b764;
$custom-dark: #000000;
JSON
{
  "hex": "#2d971d",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 112.131,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.1817,
    "h": 141.4
  },
  "luminance": 0.2278
}

Semantic roles & 50–950 ramp

primary
#2D971D
secondary
#B24FC0
accent
#3DEBD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D971D

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

Preview Lab → · Contrast checker → · Palette generator →

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