#2D8D17#2D8D17

#2D8D17 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.173 H 140.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2D8D17
RGBrgb(45, 141, 23)
HSLhsl(109, 72%, 32%)
HSVhsv(109, 84%, 55%)
CMYKcmyk(68.1%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.46, -48.89, 49.61)
CIE-LCHlch(51.46, 69.65, 134.58°)
OKLaboklab(56.55% -0.1339 0.1097)
OKLCHoklch(56.55% 0.173 140.7)
XYZxyz(10.7612, 19.6684, 4.0397)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D17 #77178D
analogous
#688D17 #2D8D17 #178D3C
triadic
#2D8D17 #172D8D #8D172D
tetradic
#2D8D17 #17688D #77178D #8D3C17
square
#2D8D17 #17688D #77178D #8D3C17
split-complementary
#2D8D17 #3C178D #8D1768
monochromatic
#0B2406 #1C580E #2D8D17 #3EC220 #5DE03F

Accessibility & contrast

On white

4.26
#2D8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2D8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D17
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D17#FFFFFF#000000##000000
##2D8D171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#1B8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d17;
/* rgb */ color: rgb(45, 141, 23);
/* oklch */ color: oklch(56.6% 0.173 140.7);
Tailwind
colors: {
  custom: {
    50: '#75af60',
    500: '#2d8d17',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d17;
$custom-light: #75af60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d17",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 108.814,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56552,
    "c": 0.17312,
    "h": 140.7
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#2D8D17
secondary
#A840C0
accent
#39EFCD
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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