#2D8B20#2D8B20

#2D8B20 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.166 H 141.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D8B20
RGBrgb(45, 139, 32)
HSLhsl(113, 63%, 34%)
HSVhsv(113, 77%, 55%)
CMYKcmyk(67.6%, 0%, 77%, 45.5%)
CIE-LABlab(50.83, -47.60, 46.08)
CIE-LCHlch(50.83, 66.25, 135.93°)
OKLaboklab(56.05% -0.1299 0.1037)
OKLCHoklch(56.05% 0.166 141.4)
XYZxyz(10.5750, 19.1263, 4.5007)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B20 #7E208B
analogous
#628B20 #2D8B20 #208B48
triadic
#2D8B20 #202D8B #8B202D
tetradic
#2D8B20 #20628B #7E208B #8B4820
square
#2D8B20 #20628B #7E208B #8B4820
split-complementary
#2D8B20 #48208B #8B2062
monochromatic
#0D2809 #1D5915 #2D8B20 #3DBD2B #5FD64F

Accessibility & contrast

On white

4.35
#2D8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2D8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B20
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B20#FFFFFF#000000##000000
##2D8B201.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#1A8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b20;
/* rgb */ color: rgb(45, 139, 32);
/* oklch */ color: oklch(56.0% 0.166 141.4);
Tailwind
colors: {
  custom: {
    50: '#74ae63',
    500: '#2d8b20',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b20;
$custom-light: #74ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b20",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 112.71,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.16625,
    "h": 141.4
  },
  "luminance": 0.19127
}

Semantic roles & 50–950 ramp

primary
#2D8B20
secondary
#AC4DBA
accent
#42E6D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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