#2D8D1D#2D8D1D

#2D8D1D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.170 H 141.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2D8D1D
RGBrgb(45, 141, 29)
HSLhsl(111, 66%, 33%)
HSVhsv(111, 79%, 55%)
CMYKcmyk(68.1%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.49, -48.52, 47.77)
CIE-LCHlch(51.49, 68.09, 135.45°)
OKLaboklab(56.59% -0.1326 0.1068)
OKLCHoklch(56.59% 0.17 141.2)
XYZxyz(10.8283, 19.6952, 4.3931)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D1D #7D1D8D
analogous
#658D1D #2D8D1D #1D8D45
triadic
#2D8D1D #1D2D8D #8D1D2D
tetradic
#2D8D1D #1D658D #7D1D8D #8D451D
square
#2D8D1D #1D658D #7D1D8D #8D451D
split-complementary
#2D8D1D #451D8D #8D1D65
monochromatic
#0D2708 #1D5A13 #2D8D1D #3DC027 #5FDA4B

Accessibility & contrast

On white

4.25
#2D8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2D8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D1D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D1D#FFFFFF#000000##000000
##2D8D1D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#1A8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d1d;
/* rgb */ color: rgb(45, 141, 29);
/* oklch */ color: oklch(56.6% 0.170 141.2);
Tailwind
colors: {
  custom: {
    50: '#74af62',
    500: '#2d8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d1d;
$custom-light: #74af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d1d",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 111.429,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.17024,
    "h": 141.2
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#2D8D1D
secondary
#AC4ABC
accent
#3FE9D1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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