#2D972A#2D972A

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

Color values

HEX#2D972A
RGBrgb(45, 151, 42)
HSLhsl(118, 56%, 38%)
HSVhsv(118, 72%, 59%)
CMYKcmyk(70.2%, 0%, 72.2%, 40.8%)
CIE-LABlab(54.92, -50.99, 46.43)
CIE-LCHlch(54.92, 68.97, 137.68°)
OKLaboklab(59.46% -0.1386 0.1058)
OKLCHoklch(59.46% 0.174 142.6)
XYZxyz(12.5660, 22.8569, 5.9396)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D972A #942A97
analogous
#63972A #2D972A #2A975E
triadic
#2D972A #2A2D97 #972A2D
tetradic
#2D972A #2A6397 #942A97 #975E2A
square
#2D972A #2A6397 #942A97 #975E2A
split-complementary
#2D972A #5E2A97 #972A63
monochromatic
#10370F #1F671D #2D972A #3BC737 #6AD567

Accessibility & contrast

On white

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

On black

5.57
#2D972A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D972A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D972A#FFFFFF#000000##000000
##2D972A1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8918
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#109281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2d972a;
/* rgb */ color: rgb(45, 151, 42);
/* oklch */ color: oklch(59.5% 0.174 142.6);
Tailwind
colors: {
  custom: {
    50: '#76b76a',
    500: '#2d972a',
    950: '#000000',
  },
}
SCSS
$custom: #2d972a;
$custom-light: #76b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d972a",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 118.349,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.17437,
    "h": 142.6
  },
  "luminance": 0.22858
}

Semantic roles & 50–950 ramp

primary
#2D972A
secondary
#B862BB
accent
#48E0DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D972A

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

Preview Lab → · Contrast checker → · Palette generator →

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