#2D8D2D#2D8D2D

#2D8D2D is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.160 H 143.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2D8D2D
RGBrgb(45, 141, 45)
HSLhsl(120, 52%, 36%)
HSVhsv(120, 68%, 55%)
CMYKcmyk(68.1%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.61, -47.15, 41.66)
CIE-LCHlch(51.61, 62.92, 138.54°)
OKLaboklab(56.72% -0.128 0.0961)
OKLCHoklch(56.72% 0.16 143.1)
XYZxyz(11.0801, 19.7960, 5.7192)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D2D #8D2D8D
analogous
#5D8D2D #2D8D2D #2D8D5D
triadic
#2D8D2D #2D2D8D #8D2D2D
tetradic
#2D8D2D #2D5D8D #8D2D8D #8D5D2D
square
#2D8D2D #2D5D8D #8D2D8D #8D5D2D
split-complementary
#2D8D2D #5D2D8D #8D2D5D
monochromatic
#0F300F #1E5F1E #2D8D2D #3CBB3C #66CE66

Accessibility & contrast

On white

4.23
#2D8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2D8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D2D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D2D#FFFFFF#000000##000000
##2D8D2D1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#168979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d2d;
/* rgb */ color: rgb(45, 141, 45);
/* oklch */ color: oklch(56.7% 0.160 143.1);
Tailwind
colors: {
  custom: {
    50: '#73af6b',
    500: '#2d8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d2d;
$custom-light: #73af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d2d",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.16011,
    "h": 143.1
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#2D8D2D
secondary
#B561B5
accent
#4DDBDB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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