#2D9D22#2D9D22

#2D9D22 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.186 H 141.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2D9D22
RGBrgb(45, 157, 34)
HSLhsl(115, 64%, 37%)
HSVhsv(115, 78%, 62%)
CMYKcmyk(71.3%, 0%, 78.3%, 38.4%)
CIE-LABlab(56.87, -53.67, 51.30)
CIE-LCHlch(56.87, 74.25, 136.29°)
OKLaboklab(61.06% -0.1463 0.1149)
OKLCHoklch(61.06% 0.186 141.9)
XYZxyz(13.4271, 24.7859, 5.5896)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9D22 #92229D
analogous
#6B9D22 #2D9D22 #229D54
triadic
#2D9D22 #222D9D #9D222D
tetradic
#2D9D22 #226B9D #92229D #9D5422
square
#2D9D22 #226B9D #92229D #9D5422
split-complementary
#2D9D22 #54229D #9D226B
monochromatic
#10380C #1F6B17 #2D9D22 #3BCF2D #69DC5D

Accessibility & contrast

On white

3.53
#2D9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#2D9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9D22
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9D22#FFFFFF#000000##000000
##2D9D221.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E02
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#0E9886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2d9d22;
/* rgb */ color: rgb(45, 157, 34);
/* oklch */ color: oklch(61.1% 0.186 141.9);
Tailwind
colors: {
  custom: {
    50: '#78bb67',
    500: '#2d9d22',
    950: '#000000',
  },
}
SCSS
$custom: #2d9d22;
$custom-light: #78bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9d22",
  "rgb": {
    "r": 45,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 114.634,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.18597,
    "h": 141.9
  },
  "luminance": 0.24787
}

Semantic roles & 50–950 ramp

primary
#2D9D22
secondary
#B75AC1
accent
#40E7D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2D9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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