#2D972D#2D972D

#2D972D is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.172 H 143.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2D972D
RGBrgb(45, 151, 45)
HSLhsl(120, 54%, 38%)
HSVhsv(120, 70%, 59%)
CMYKcmyk(70.2%, 0%, 70.2%, 40.8%)
CIE-LABlab(54.95, -50.72, 45.24)
CIE-LCHlch(54.95, 67.96, 138.26°)
OKLaboklab(59.49% -0.1377 0.1037)
OKLCHoklch(59.49% 0.172 143)
XYZxyz(12.6217, 22.8792, 6.2331)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D972D #972D97
analogous
#62972D #2D972D #2D9762
triadic
#2D972D #2D2D97 #972D2D
tetradic
#2D972D #2D6297 #972D97 #97622D
square
#2D972D #2D6297 #972D97 #97622D
split-complementary
#2D972D #622D97 #972D62
monochromatic
#113911 #1F681F #2D972D #3CC53C #6BD36B

Accessibility & contrast

On white

3.77
#2D972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2D972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D972D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D972D#FFFFFF#000000##000000
##2D972D1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891D
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#0E9382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2d972d;
/* rgb */ color: rgb(45, 151, 45);
/* oklch */ color: oklch(59.5% 0.172 143.0);
Tailwind
colors: {
  custom: {
    50: '#76b76c',
    500: '#2d972d',
    950: '#000000',
  },
}
SCSS
$custom: #2d972d;
$custom-light: #76b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d972d",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.17236,
    "h": 143
  },
  "luminance": 0.22881
}

Semantic roles & 50–950 ramp

primary
#2D972D
secondary
#BA66BA
accent
#4ADDDD
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D972D

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

Preview Lab → · Contrast checker → · Palette generator →

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