#2D9E31#2D9E31

#2D9E31 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.178 H 143.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2D9E31
RGBrgb(45, 158, 49)
HSLhsl(122, 56%, 40%)
HSVhsv(122, 72%, 62%)
CMYKcmyk(71.5%, 0%, 69%, 38%)
CIE-LABlab(57.30, -52.76, 46.09)
CIE-LCHlch(57.30, 70.06, 138.86°)
OKLaboklab(61.45% -0.143 0.1059)
OKLCHoklch(61.45% 0.178 143.5)
XYZxyz(13.8626, 25.2318, 7.0448)
Luminance0.2523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9E31 #9E2D9A
analogous
#619E2D #2D9E31 #2D9E6A
triadic
#2D9E31 #312D9E #9E312D
tetradic
#2D9E31 #2D619E #9E2D9A #9E6A2D
square
#2D9E31 #2D619E #9E2D9A #9E6A2D
split-complementary
#2D9E31 #6A2D9E #9E2D61
monochromatic
#123F13 #1F6E22 #2D9E31 #40C945 #6FD673

Accessibility & contrast

On white

3.47
#2D9E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#2D9E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9E31
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9E31#FFFFFF#000000##000000
##2D9E311.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F22
Deuteranopia (green-blind)
#94863B
Tritanopia (blue-blind)
#049988
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2d9e31;
/* rgb */ color: rgb(45, 158, 49);
/* oklch */ color: oklch(61.4% 0.178 143.5);
Tailwind
colors: {
  custom: {
    50: '#77bc6f',
    500: '#2d9e31',
    950: '#000000',
  },
}
SCSS
$custom: #2d9e31;
$custom-light: #77bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9e31",
  "rgb": {
    "r": 45,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 122.124,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61449,
    "c": 0.178,
    "h": 143.5
  },
  "luminance": 0.25233
}

Semantic roles & 50–950 ramp

primary
#2D9E31
secondary
#BD69BA
accent
#49DADF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2D9E31

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

Preview Lab → · Contrast checker → · Palette generator →

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