#2D972F#2D972F

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

Color values

HEX#2D972F
RGBrgb(45, 151, 47)
HSLhsl(121, 54%, 38%)
HSVhsv(121, 70%, 59%)
CMYKcmyk(70.2%, 0%, 68.9%, 40.8%)
CIE-LABlab(54.96, -50.52, 44.42)
CIE-LCHlch(54.96, 67.28, 138.67°)
OKLaboklab(59.51% -0.1371 0.1022)
OKLCHoklch(59.51% 0.171 143.3)
XYZxyz(12.6611, 22.8950, 6.4407)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D972F #972D95
analogous
#60972D #2D972F #2D9764
triadic
#2D972F #2F2D97 #972F2D
tetradic
#2D972F #2D6097 #972D95 #97642D
square
#2D972F #2D6097 #972D95 #97642D
split-complementary
#2D972F #642D97 #972D60
monochromatic
#113912 #1F6820 #2D972F #3CC53F #6BD36D

Accessibility & contrast

On white

3.76
#2D972F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D972F#FFFFFF#000000##000000
##2D972F1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8921
Deuteranopia (green-blind)
#8E8039
Tritanopia (blue-blind)
#0D9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d972f;
/* rgb */ color: rgb(45, 151, 47);
/* oklch */ color: oklch(59.5% 0.171 143.3);
Tailwind
colors: {
  custom: {
    50: '#76b76d',
    500: '#2d972f',
    950: '#000000',
  },
}
SCSS
$custom: #2d972f;
$custom-light: #76b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d972f",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 121.132,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.17098,
    "h": 143.3
  },
  "luminance": 0.22896
}

Semantic roles & 50–950 ramp

primary
#2D972F
secondary
#BA66B8
accent
#4ADBDD
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D972F

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

Preview Lab → · Contrast checker → · Palette generator →

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