#2D8B21#2D8B21

#2D8B21 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.166 H 141.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D8B21
RGBrgb(45, 139, 33)
HSLhsl(113, 62%, 34%)
HSVhsv(113, 76%, 55%)
CMYKcmyk(67.6%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.84, -47.52, 45.72)
CIE-LCHlch(50.84, 65.94, 136.11°)
OKLaboklab(56.06% -0.1297 0.1031)
OKLCHoklch(56.06% 0.166 141.5)
XYZxyz(10.5888, 19.1319, 4.5733)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B21 #7F218B
analogous
#628B21 #2D8B21 #218B4A
triadic
#2D8B21 #212D8B #8B212D
tetradic
#2D8B21 #21628B #7F218B #8B4A21
square
#2D8B21 #21628B #7F218B #8B4A21
split-complementary
#2D8B21 #4A218B #8B2162
monochromatic
#0D280A #1D5A15 #2D8B21 #3DBC2D #60D651

Accessibility & contrast

On white

4.35
#2D8B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2D8B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B21
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B21#FFFFFF#000000##000000
##2D8B211.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#1A8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b21;
/* rgb */ color: rgb(45, 139, 33);
/* oklch */ color: oklch(56.1% 0.166 141.5);
Tailwind
colors: {
  custom: {
    50: '#74ae64',
    500: '#2d8b21',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b21;
$custom-light: #74ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b21",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 113.208,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.16567,
    "h": 141.5
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#2D8B21
secondary
#AD4FB9
accent
#43E5D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B21

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

Preview Lab → · Contrast checker → · Palette generator →

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