#2D8C22#2D8C22

#2D8C22 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.166 H 141.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2D8C22
RGBrgb(45, 140, 34)
HSLhsl(114, 61%, 34%)
HSVhsv(114, 76%, 55%)
CMYKcmyk(67.9%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.18, -47.80, 45.69)
CIE-LCHlch(51.18, 66.13, 136.29°)
OKLaboklab(56.34% -0.1304 0.1032)
OKLCHoklch(56.34% 0.166 141.7)
XYZxyz(10.7484, 19.4284, 4.6967)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C22 #81228C
analogous
#628C22 #2D8C22 #228C4C
triadic
#2D8C22 #222D8C #8C222D
tetradic
#2D8C22 #22628C #81228C #8C4C22
square
#2D8C22 #22628C #81228C #8C4C22
split-complementary
#2D8C22 #4C228C #8C2262
monochromatic
#0D2A0A #1D5B16 #2D8C22 #3DBD2E #61D553

Accessibility & contrast

On white

4.30
#2D8C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2D8C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8C22
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8C22#FFFFFF#000000##000000
##2D8C221.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#198878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8c22;
/* rgb */ color: rgb(45, 140, 34);
/* oklch */ color: oklch(56.3% 0.166 141.7);
Tailwind
colors: {
  custom: {
    50: '#74af65',
    500: '#2d8c22',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c22;
$custom-light: #74af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c22",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 113.774,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.16626,
    "h": 141.7
  },
  "luminance": 0.1943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D8C22

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

Preview Lab → · Contrast checker → · Palette generator →

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