#2D8620#2D8620

#2D8620 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.160 H 141.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2D8620
RGBrgb(45, 134, 32)
HSLhsl(112, 61%, 33%)
HSVhsv(112, 76%, 53%)
CMYKcmyk(66.4%, 0%, 76.1%, 47.5%)
CIE-LABlab(49.14, -45.80, 44.40)
CIE-LCHlch(49.14, 63.78, 135.89°)
OKLaboklab(54.65% -0.1251 0.1002)
OKLCHoklch(54.65% 0.16 141.3)
XYZxyz(9.8675, 17.7114, 4.2648)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8620 #792086
analogous
#608620 #2D8620 #208646
triadic
#2D8620 #202D86 #86202D
tetradic
#2D8620 #206086 #792086 #864620
square
#2D8620 #206086 #792086 #864620
split-complementary
#2D8620 #462086 #862060
monochromatic
#0C2308 #1C5514 #2D8620 #3EB72C #5DD44C

Accessibility & contrast

On white

4.62
#2D8620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2D8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8620
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8620#FFFFFF#000000##FFFFFF
##2D86201.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#1D8272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d8620;
/* rgb */ color: rgb(45, 134, 32);
/* oklch */ color: oklch(54.6% 0.160 141.3);
Tailwind
colors: {
  custom: {
    50: '#73aa63',
    500: '#2d8620',
    950: '#000000',
  },
}
SCSS
$custom: #2d8620;
$custom-light: #73aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8620",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 112.353,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.16025,
    "h": 141.3
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D8620

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

Preview Lab → · Contrast checker → · Palette generator →

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