#2D8E21#2D8E21

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

Color values

HEX#2D8E21
RGBrgb(45, 142, 33)
HSLhsl(113, 62%, 34%)
HSVhsv(113, 77%, 56%)
CMYKcmyk(68.3%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.85, -48.59, 46.73)
CIE-LCHlch(51.85, 67.41, 136.12°)
OKLaboklab(56.89% -0.1326 0.1052)
OKLCHoklch(56.89% 0.169 141.6)
XYZxyz(11.0291, 20.0126, 4.7201)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E21 #82218E
analogous
#648E21 #2D8E21 #218E4B
triadic
#2D8E21 #212D8E #8E212D
tetradic
#2D8E21 #21648E #82218E #8E4B21
square
#2D8E21 #21648E #82218E #8E4B21
split-complementary
#2D8E21 #4B218E #8E2164
monochromatic
#0E2B0A #1D5C15 #2D8E21 #3DC02D #61D752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8E21#FFFFFF#000000##000000
##2D8E211.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)
#928009
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#198979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e21;
/* rgb */ color: rgb(45, 142, 33);
/* oklch */ color: oklch(56.9% 0.169 141.6);
Tailwind
colors: {
  custom: {
    50: '#74b064',
    500: '#2d8e21',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e21;
$custom-light: #74b064;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e21",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 113.394,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.16923,
    "h": 141.6
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#2D8E21
secondary
#AF50BA
accent
#42E5D3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8E21

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

Preview Lab → · Contrast checker → · Palette generator →

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