#2D8D20#2D8D20

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

Color values

HEX#2D8D20
RGBrgb(45, 141, 32)
HSLhsl(113, 63%, 34%)
HSVhsv(113, 77%, 55%)
CMYKcmyk(68.1%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.51, -48.31, 46.75)
CIE-LCHlch(51.51, 67.22, 135.94°)
OKLaboklab(56.61% -0.1319 0.1051)
OKLCHoklch(56.61% 0.169 141.5)
XYZxyz(10.8672, 19.7108, 4.5981)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D20 #80208D
analogous
#648D20 #2D8D20 #208D4A
triadic
#2D8D20 #202D8D #8D202D
tetradic
#2D8D20 #20648D #80208D #8D4A20
square
#2D8D20 #20648D #80208D #8D4A20
split-complementary
#2D8D20 #4A208D #8D2064
monochromatic
#0D2909 #1D5B15 #2D8D20 #3DBF2B #60D750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8D20#FFFFFF#000000##000000
##2D8D201.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)
#917F08
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#198878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d20;
/* rgb */ color: rgb(45, 141, 32);
/* oklch */ color: oklch(56.6% 0.169 141.5);
Tailwind
colors: {
  custom: {
    50: '#74af64',
    500: '#2d8d20',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d20;
$custom-light: #74af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d20",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 112.844,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.16862,
    "h": 141.5
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#2D8D20
secondary
#AE4EBA
accent
#42E6D2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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