#2D8D21#2D8D21

#2D8D21 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.168 H 141.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2D8D21
RGBrgb(45, 141, 33)
HSLhsl(113, 62%, 34%)
HSVhsv(113, 77%, 55%)
CMYKcmyk(68.1%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.51, -48.23, 46.39)
CIE-LCHlch(51.51, 66.92, 136.11°)
OKLaboklab(56.62% -0.1316 0.1045)
OKLCHoklch(56.62% 0.168 141.6)
XYZxyz(10.8810, 19.7163, 4.6708)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D21 #81218D
analogous
#638D21 #2D8D21 #218D4B
triadic
#2D8D21 #212D8D #8D212D
tetradic
#2D8D21 #21638D #81218D #8D4B21
square
#2D8D21 #21638D #81218D #8D4B21
split-complementary
#2D8D21 #4B218D #8D2163
monochromatic
#0D2A0A #1D5B15 #2D8D21 #3DBF2D #61D652

Accessibility & contrast

On white

4.25
#2D8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2D8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D21
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D21#FFFFFF#000000##000000
##2D8D211.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F0A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#198878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d21;
/* rgb */ color: rgb(45, 141, 33);
/* oklch */ color: oklch(56.6% 0.168 141.6);
Tailwind
colors: {
  custom: {
    50: '#74af64',
    500: '#2d8d21',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d21;
$custom-light: #74af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d21",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 113.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.16804,
    "h": 141.6
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#2D8D21
secondary
#AE50BA
accent
#43E5D3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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