#2D8A22#2D8A22

#2D8A22 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.164 H 141.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D8A22
RGBrgb(45, 138, 34)
HSLhsl(114, 60%, 34%)
HSVhsv(114, 75%, 54%)
CMYKcmyk(67.4%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.51, -47.08, 45.02)
CIE-LCHlch(50.51, 65.14, 136.29°)
OKLaboklab(55.79% -0.1284 0.1017)
OKLCHoklch(55.79% 0.164 141.6)
XYZxyz(10.4588, 18.8493, 4.6002)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A22 #7F228A
analogous
#618A22 #2D8A22 #228A4B
triadic
#2D8A22 #222D8A #8A222D
tetradic
#2D8A22 #22618A #7F228A #8A4B22
square
#2D8A22 #22618A #7F228A #8A4B22
split-complementary
#2D8A22 #4B228A #8A2261
monochromatic
#0D280A #1D5916 #2D8A22 #3DBB2E #60D452

Accessibility & contrast

On white

4.40
#2D8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A22
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A22#FFFFFF#000000##000000
##2D8A221.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#1A8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a22;
/* rgb */ color: rgb(45, 138, 34);
/* oklch */ color: oklch(55.8% 0.164 141.6);
Tailwind
colors: {
  custom: {
    50: '#73ad64',
    500: '#2d8a22',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a22;
$custom-light: #73ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a22",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 113.654,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.16387,
    "h": 141.6
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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