#2D8E20#2D8E20

#2D8E20 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.170 H 141.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D8E20
RGBrgb(45, 142, 32)
HSLhsl(113, 63%, 34%)
HSVhsv(113, 77%, 56%)
CMYKcmyk(68.3%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.85, -48.66, 47.08)
CIE-LCHlch(51.85, 67.71, 135.95°)
OKLaboklab(56.89% -0.1328 0.1058)
OKLCHoklch(56.89% 0.17 141.5)
XYZxyz(11.0153, 20.0070, 4.6475)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E20 #81208E
analogous
#648E20 #2D8E20 #208E4A
triadic
#2D8E20 #202D8E #8E202D
tetradic
#2D8E20 #20648E #81208E #8E4A20
square
#2D8E20 #20648E #81208E #8E4A20
split-complementary
#2D8E20 #4A208E #8E2064
monochromatic
#0D2A09 #1D5C15 #2D8E20 #3DC02B #61D851

Accessibility & contrast

On white

4.20
#2D8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2D8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E20
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E20#FFFFFF#000000##000000
##2D8E201.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928007
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#198979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e20;
/* rgb */ color: rgb(45, 142, 32);
/* oklch */ color: oklch(56.9% 0.170 141.5);
Tailwind
colors: {
  custom: {
    50: '#74b064',
    500: '#2d8e20',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e20;
$custom-light: #74b064;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e20",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 112.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.16979,
    "h": 141.5
  },
  "luminance": 0.20008
}

Semantic roles & 50–950 ramp

primary
#2D8E20
secondary
#AE4FBB
accent
#42E6D3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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