#2D8A21#2D8A21

#2D8A21 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.164 H 141.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D8A21
RGBrgb(45, 138, 33)
HSLhsl(113, 61%, 34%)
HSVhsv(113, 76%, 54%)
CMYKcmyk(67.4%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.50, -47.16, 45.38)
CIE-LCHlch(50.50, 65.45, 136.10°)
OKLaboklab(55.78% -0.1287 0.1024)
OKLCHoklch(55.78% 0.164 141.5)
XYZxyz(10.4446, 18.8436, 4.5253)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A21 #7E218A
analogous
#618A21 #2D8A21 #218A49
triadic
#2D8A21 #212D8A #8A212D
tetradic
#2D8A21 #21618A #7E218A #8A4921
square
#2D8A21 #21618A #7E218A #8A4921
split-complementary
#2D8A21 #49218A #8A2161
monochromatic
#0D2709 #1D5915 #2D8A21 #3DBB2D #5FD550

Accessibility & contrast

On white

4.40
#2D8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A21
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A21#FFFFFF#000000##000000
##2D8A211.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#1B8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a21;
/* rgb */ color: rgb(45, 138, 33);
/* oklch */ color: oklch(55.8% 0.164 141.5);
Tailwind
colors: {
  custom: {
    50: '#73ad64',
    500: '#2d8a21',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a21;
$custom-light: #73ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a21",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 113.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.16447,
    "h": 141.5
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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