#2D8F22#2D8F22

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

Color values

HEX#2D8F22
RGBrgb(45, 143, 34)
HSLhsl(114, 62%, 35%)
HSVhsv(114, 76%, 56%)
CMYKcmyk(68.5%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.19, -48.86, 46.70)
CIE-LCHlch(52.19, 67.59, 136.29°)
OKLaboklab(57.18% -0.1333 0.1053)
OKLCHoklch(57.18% 0.17 141.7)
XYZxyz(11.1928, 20.3171, 4.8448)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F22 #84228F
analogous
#648F22 #2D8F22 #228F4E
triadic
#2D8F22 #222D8F #8F222D
tetradic
#2D8F22 #22648F #84228F #8F4E22
square
#2D8F22 #22648F #84228F #8F4E22
split-complementary
#2D8F22 #4E228F #8F2264
monochromatic
#0E2C0A #1D5E16 #2D8F22 #3DC02E #62D755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8F22#FFFFFF#000000##000000
##2D8F221.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)
#93810C
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#188A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f22;
/* rgb */ color: rgb(45, 143, 34);
/* oklch */ color: oklch(57.2% 0.170 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b165',
    500: '#2d8f22',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f22;
$custom-light: #74b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f22",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 113.945,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.16982,
    "h": 141.7
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#2D8F22
secondary
#B052BA
accent
#43E5D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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