#2D8720#2D8720

#2D8720 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.161 H 141.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2D8720
RGBrgb(45, 135, 32)
HSLhsl(112, 62%, 33%)
HSVhsv(112, 76%, 53%)
CMYKcmyk(66.7%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.48, -46.16, 44.73)
CIE-LCHlch(49.48, 64.28, 135.90°)
OKLaboklab(54.93% -0.1261 0.1009)
OKLCHoklch(54.93% 0.161 141.3)
XYZxyz(10.0064, 17.9891, 4.3111)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8720 #7A2087
analogous
#618720 #2D8720 #208746
triadic
#2D8720 #202D87 #87202D
tetradic
#2D8720 #206187 #7A2087 #874620
square
#2D8720 #206187 #7A2087 #874620
split-complementary
#2D8720 #462087 #872061
monochromatic
#0C2409 #1D5614 #2D8720 #3DB82C #5ED54D

Accessibility & contrast

On white

4.57
#2D8720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2D8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8720
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8720#FFFFFF#000000##000000
##2D87201.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#1C8373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8720;
/* rgb */ color: rgb(45, 135, 32);
/* oklch */ color: oklch(54.9% 0.161 141.3);
Tailwind
colors: {
  custom: {
    50: '#73ab63',
    500: '#2d8720',
    950: '#000000',
  },
}
SCSS
$custom: #2d8720;
$custom-light: #73ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8720",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 112.427,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.16146,
    "h": 141.3
  },
  "luminance": 0.1799
}

Semantic roles & 50–950 ramp

primary
#2D8720
secondary
#AA4BB8
accent
#43E5D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8720

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

Preview Lab → · Contrast checker → · Palette generator →

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