#2D9221#2D9221

#2D9221 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.174 H 141.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D9221
RGBrgb(45, 146, 33)
HSLhsl(114, 63%, 35%)
HSVhsv(114, 77%, 57%)
CMYKcmyk(69.2%, 0%, 77.4%, 42.7%)
CIE-LABlab(53.19, -49.99, 48.05)
CIE-LCHlch(53.19, 69.34, 136.13°)
OKLaboklab(58.01% -0.1363 0.108)
OKLCHoklch(58.01% 0.174 141.6)
XYZxyz(11.6350, 21.2242, 4.9221)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9221 #862192
analogous
#669221 #2D9221 #21924D
triadic
#2D9221 #212D92 #92212D
tetradic
#2D9221 #216692 #862192 #924D21
square
#2D9221 #216692 #862192 #924D21
split-complementary
#2D9221 #4D2192 #922166
monochromatic
#0E2E0A #1E6016 #2D9221 #3CC42C #63D955

Accessibility & contrast

On white

4.00
#2D9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2D9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9221
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9221#FFFFFF#000000##000000
##2D92211.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968407
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#168D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2d9221;
/* rgb */ color: rgb(45, 146, 33);
/* oklch */ color: oklch(58.0% 0.174 141.6);
Tailwind
colors: {
  custom: {
    50: '#75b365',
    500: '#2d9221',
    950: '#000000',
  },
}
SCSS
$custom: #2d9221;
$custom-light: #75b365;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9221",
  "rgb": {
    "r": 45,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 113.628,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.17391,
    "h": 141.6
  },
  "luminance": 0.21225
}

Semantic roles & 50–950 ramp

primary
#2D9221
secondary
#B153BC
accent
#42E6D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D9221

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

Preview Lab → · Contrast checker → · Palette generator →

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