#2D8C20#2D8C20

#2D8C20 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.167 H 141.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D8C20
RGBrgb(45, 140, 32)
HSLhsl(113, 63%, 34%)
HSVhsv(113, 77%, 55%)
CMYKcmyk(67.9%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.17, -47.95, 46.41)
CIE-LCHlch(51.17, 66.74, 135.93°)
OKLaboklab(56.33% -0.1309 0.1044)
OKLCHoklch(56.33% 0.167 141.4)
XYZxyz(10.7204, 19.4172, 4.5492)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C20 #7F208C
analogous
#638C20 #2D8C20 #208C49
triadic
#2D8C20 #202D8C #8C202D
tetradic
#2D8C20 #20638C #7F208C #8C4920
square
#2D8C20 #20638C #7F208C #8C4920
split-complementary
#2D8C20 #49208C #8C2063
monochromatic
#0D2809 #1D5A15 #2D8C20 #3DBE2B #60D750

Accessibility & contrast

On white

4.30
#2D8C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2D8C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8C20
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8C20#FFFFFF#000000##000000
##2D8C201.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#1A8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8c20;
/* rgb */ color: rgb(45, 140, 32);
/* oklch */ color: oklch(56.3% 0.167 141.4);
Tailwind
colors: {
  custom: {
    50: '#74af64',
    500: '#2d8c20',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c20;
$custom-light: #74af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c20",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 112.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.16743,
    "h": 141.4
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#2D8C20
secondary
#AD4EBA
accent
#42E6D2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8C20

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

Preview Lab → · Contrast checker → · Palette generator →

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