#2D8D22#2D8D22

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

Color values

HEX#2D8D22
RGBrgb(45, 141, 34)
HSLhsl(114, 61%, 34%)
HSVhsv(114, 76%, 55%)
CMYKcmyk(68.1%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.52, -48.15, 46.03)
CIE-LCHlch(51.52, 66.62, 136.29°)
OKLaboklab(56.62% -0.1313 0.1039)
OKLCHoklch(56.62% 0.167 141.7)
XYZxyz(10.8952, 19.7220, 4.7456)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D22 #82228D
analogous
#638D22 #2D8D22 #228D4D
triadic
#2D8D22 #222D8D #8D222D
tetradic
#2D8D22 #22638D #82228D #8D4D22
square
#2D8D22 #22638D #82228D #8D4D22
split-complementary
#2D8D22 #4D228D #8D2263
monochromatic
#0E2A0A #1D5C16 #2D8D22 #3DBE2E #61D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8D22#FFFFFF#000000##000000
##2D8D221.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)
#917F0D
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#198978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d22;
/* rgb */ color: rgb(45, 141, 34);
/* oklch */ color: oklch(56.6% 0.167 141.7);
Tailwind
colors: {
  custom: {
    50: '#74af65',
    500: '#2d8d22',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d22;
$custom-light: #74af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d22",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 113.832,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.16746,
    "h": 141.7
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#2D8D22
secondary
#AF51B9
accent
#44E4D4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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