#2D982D#2D982D

#2D982D is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.8% C 0.174 H 143.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2D982D
RGBrgb(45, 152, 45)
HSLhsl(120, 54%, 39%)
HSVhsv(120, 70%, 60%)
CMYKcmyk(70.4%, 0%, 70.4%, 40.4%)
CIE-LABlab(55.28, -51.07, 45.60)
CIE-LCHlch(55.28, 68.46, 138.24°)
OKLaboklab(59.76% -0.1386 0.1044)
OKLCHoklch(59.76% 0.174 143)
XYZxyz(12.7833, 23.2024, 6.2869)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D982D #982D98
analogous
#62982D #2D982D #2D9862
triadic
#2D982D #2D2D98 #982D2D
tetradic
#2D982D #2D6298 #982D98 #98622D
square
#2D982D #2D6298 #982D98 #98622D
split-complementary
#2D982D #622D98 #982D62
monochromatic
#113A11 #1F691F #2D982D #3DC53D #6CD36C

Accessibility & contrast

On white

3.72
#2D982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2D982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D982D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D982D#FFFFFF#000000##000000
##2D982D1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1D
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#0D9483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d982d;
/* rgb */ color: rgb(45, 152, 45);
/* oklch */ color: oklch(59.8% 0.174 143.0);
Tailwind
colors: {
  custom: {
    50: '#76b76c',
    500: '#2d982d',
    950: '#000000',
  },
}
SCSS
$custom: #2d982d;
$custom-light: #76b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d982d",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59764,
    "c": 0.17357,
    "h": 143
  },
  "luminance": 0.23204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D982D

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

Preview Lab → · Contrast checker → · Palette generator →

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