#2D9D2F#2D9D2F

#2D9D2F is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.178 H 143.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2D9D2F
RGBrgb(45, 157, 47)
HSLhsl(121, 55%, 40%)
HSVhsv(121, 71%, 62%)
CMYKcmyk(71.3%, 0%, 70.1%, 38.4%)
CIE-LABlab(56.95, -52.61, 46.55)
CIE-LCHlch(56.95, 70.24, 138.50°)
OKLaboklab(61.16% -0.1427 0.1067)
OKLCHoklch(61.16% 0.178 143.2)
XYZxyz(13.6514, 24.8756, 6.7708)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9D2F #9D2D9B
analogous
#639D2D #2D9D2F #2D9D67
triadic
#2D9D2F #2F2D9D #9D2F2D
tetradic
#2D9D2F #2D639D #9D2D9B #9D672D
square
#2D9D2F #2D639D #9D2D9B #9D672D
split-complementary
#2D9D2F #672D9D #9D2D63
monochromatic
#123E13 #1F6D21 #2D9D2F #3FC842 #6FD671

Accessibility & contrast

On white

3.51
#2D9D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#2D9D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9D2F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9D2F#FFFFFF#000000##000000
##2D9D2F1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1F
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#079887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2d9d2f;
/* rgb */ color: rgb(45, 157, 47);
/* oklch */ color: oklch(61.2% 0.178 143.2);
Tailwind
colors: {
  custom: {
    50: '#77bb6d',
    500: '#2d9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d9d2f;
$custom-light: #77bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9d2f",
  "rgb": {
    "r": 45,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 121.071,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.17818,
    "h": 143.2
  },
  "luminance": 0.24877
}

Semantic roles & 50–950 ramp

primary
#2D9D2F
secondary
#BD69BB
accent
#49DCDF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2D9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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