#2D8F21#2D8F21

#2D8F21 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.170 H 141.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2D8F21
RGBrgb(45, 143, 33)
HSLhsl(113, 63%, 35%)
HSVhsv(113, 77%, 56%)
CMYKcmyk(68.5%, 0%, 76.9%, 43.9%)
CIE-LABlab(52.19, -48.94, 47.06)
CIE-LCHlch(52.19, 67.89, 136.12°)
OKLaboklab(57.17% -0.1335 0.1059)
OKLCHoklch(57.17% 0.17 141.6)
XYZxyz(11.1786, 20.3115, 4.7699)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F21 #83218F
analogous
#648F21 #2D8F21 #218F4C
triadic
#2D8F21 #212D8F #8F212D
tetradic
#2D8F21 #21648F #83218F #8F4C21
square
#2D8F21 #21648F #83218F #8F4C21
split-complementary
#2D8F21 #4C218F #8F2164
monochromatic
#0E2C0A #1D5D16 #2D8F21 #3DC12C #62D753

Accessibility & contrast

On white

4.15
#2D8F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2D8F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F21
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F21#FFFFFF#000000##000000
##2D8F211.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#188A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f21;
/* rgb */ color: rgb(45, 143, 33);
/* oklch */ color: oklch(57.2% 0.170 141.6);
Tailwind
colors: {
  custom: {
    50: '#75b164',
    500: '#2d8f21',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f21;
$custom-light: #75b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f21",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 113.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57173,
    "c": 0.1704,
    "h": 141.6
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#2D8F21
secondary
#AF51BB
accent
#42E6D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F21

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

Preview Lab → · Contrast checker → · Palette generator →

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