#2D8B22#2D8B22

#2D8B22 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.165 H 141.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D8B22
RGBrgb(45, 139, 34)
HSLhsl(114, 61%, 34%)
HSVhsv(114, 76%, 55%)
CMYKcmyk(67.6%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.85, -47.44, 45.36)
CIE-LCHlch(50.85, 65.63, 136.29°)
OKLaboklab(56.07% -0.1294 0.1025)
OKLCHoklch(56.07% 0.165 141.6)
XYZxyz(10.6030, 19.1375, 4.6482)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B22 #80228B
analogous
#628B22 #2D8B22 #228B4C
triadic
#2D8B22 #222D8B #8B222D
tetradic
#2D8B22 #22628B #80228B #8B4C22
square
#2D8B22 #22628B #80228B #8B4C22
split-complementary
#2D8B22 #4C228B #8B2262
monochromatic
#0D290A #1D5A16 #2D8B22 #3DBC2E #60D553

Accessibility & contrast

On white

4.35
#2D8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2D8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B22
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B22#FFFFFF#000000##000000
##2D8B221.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#1A8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b22;
/* rgb */ color: rgb(45, 139, 34);
/* oklch */ color: oklch(56.1% 0.165 141.6);
Tailwind
colors: {
  custom: {
    50: '#74ae64',
    500: '#2d8b22',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b22;
$custom-light: #74ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b22",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 113.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.16507,
    "h": 141.6
  },
  "luminance": 0.19139
}

Semantic roles & 50–950 ramp

primary
#2D8B22
secondary
#AE50B8
accent
#44E4D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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