#2D8E22#2D8E22

#2D8E22 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.169 H 141.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D8E22
RGBrgb(45, 142, 34)
HSLhsl(114, 61%, 35%)
HSVhsv(114, 76%, 56%)
CMYKcmyk(68.3%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.86, -48.51, 46.37)
CIE-LCHlch(51.86, 67.11, 136.29°)
OKLaboklab(56.9% -0.1323 0.1046)
OKLCHoklch(56.9% 0.169 141.7)
XYZxyz(11.0433, 20.0182, 4.7950)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E22 #83228E
analogous
#638E22 #2D8E22 #228E4D
triadic
#2D8E22 #222D8E #8E222D
tetradic
#2D8E22 #22638E #83228E #8E4D22
square
#2D8E22 #22638E #83228E #8E4D22
split-complementary
#2D8E22 #4D228E #8E2263
monochromatic
#0E2B0A #1D5D16 #2D8E22 #3DBF2E #62D654

Accessibility & contrast

On white

4.20
#2D8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2D8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E22
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E22#FFFFFF#000000##000000
##2D8E221.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800C
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#188979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e22;
/* rgb */ color: rgb(45, 142, 34);
/* oklch */ color: oklch(56.9% 0.169 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b065',
    500: '#2d8e22',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e22;
$custom-light: #74b065;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e22",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 113.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56902,
    "c": 0.16864,
    "h": 141.7
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

primary
#2D8E22
secondary
#AF52BA
accent
#43E4D4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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