#2D9520#2D9520

#2D9520 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.8% C 0.178 H 141.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2D9520
RGBrgb(45, 149, 32)
HSLhsl(113, 65%, 35%)
HSVhsv(113, 79%, 58%)
CMYKcmyk(69.8%, 0%, 78.5%, 41.6%)
CIE-LABlab(54.19, -51.10, 49.37)
CIE-LCHlch(54.19, 71.05, 135.98°)
OKLaboklab(58.83% -0.1394 0.1106)
OKLCHoklch(58.83% 0.178 141.6)
XYZxyz(12.0897, 22.1558, 5.0056)
Luminance0.2216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9520 #882095
analogous
#689520 #2D9520 #20954D
triadic
#2D9520 #202D95 #95202D
tetradic
#2D9520 #206895 #882095 #954D20
square
#2D9520 #206895 #882095 #954D20
split-complementary
#2D9520 #4D2095 #952068
monochromatic
#0F300A #1E6315 #2D9520 #3CC72B #64DA55

Accessibility & contrast

On white

3.87
#2D9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2D9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9520
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9520#FFFFFF#000000##000000
##2D95201.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#15907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2d9520;
/* rgb */ color: rgb(45, 149, 32);
/* oklch */ color: oklch(58.8% 0.178 141.6);
Tailwind
colors: {
  custom: {
    50: '#76b565',
    500: '#2d9520',
    950: '#000000',
  },
}
SCSS
$custom: #2d9520;
$custom-light: #76b565;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9520",
  "rgb": {
    "r": 45,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 113.333,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58833,
    "c": 0.17792,
    "h": 141.6
  },
  "luminance": 0.22157
}

Semantic roles & 50–950 ramp

primary
#2D9520
secondary
#B253BE
accent
#40E8D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D9520

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

Preview Lab → · Contrast checker → · Palette generator →

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