#2D9822#2D9822

#2D9822 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.180 H 141.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2D9822
RGBrgb(45, 152, 34)
HSLhsl(114, 63%, 36%)
HSVhsv(114, 78%, 60%)
CMYKcmyk(70.4%, 0%, 77.6%, 40.4%)
CIE-LABlab(55.20, -51.98, 49.68)
CIE-LCHlch(55.20, 71.90, 136.30°)
OKLaboklab(59.68% -0.1417 0.1115)
OKLCHoklch(59.68% 0.18 141.8)
XYZxyz(12.5985, 23.1285, 5.3134)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9822 #8D2298
analogous
#689822 #2D9822 #229852
triadic
#2D9822 #222D98 #98222D
tetradic
#2D9822 #226898 #8D2298 #985222
square
#2D9822 #226898 #8D2298 #985222
split-complementary
#2D9822 #522298 #982268
monochromatic
#0F340C #1E6617 #2D9822 #3CCA2D #66DA5A

Accessibility & contrast

On white

3.73
#2D9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2D9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9822
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9822#FFFFFF#000000##000000
##2D98221.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8905
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#129382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d9822;
/* rgb */ color: rgb(45, 152, 34);
/* oklch */ color: oklch(59.7% 0.180 141.8);
Tailwind
colors: {
  custom: {
    50: '#76b766',
    500: '#2d9822',
    950: '#000000',
  },
}
SCSS
$custom: #2d9822;
$custom-light: #76b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9822",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 114.407,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.18029,
    "h": 141.8
  },
  "luminance": 0.2313
}

Semantic roles & 50–950 ramp

primary
#2D9822
secondary
#B557BE
accent
#41E6D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D9822

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

Preview Lab → · Contrast checker → · Palette generator →

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