#2D8E17#2D8E17

#2D8E17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.174 H 140.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2D8E17
RGBrgb(45, 142, 23)
HSLhsl(109, 72%, 32%)
HSVhsv(109, 84%, 56%)
CMYKcmyk(68.3%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.80, -49.24, 49.92)
CIE-LCHlch(51.80, 70.11, 134.61°)
OKLaboklab(56.83% -0.1348 0.1104)
OKLCHoklch(56.83% 0.174 140.7)
XYZxyz(10.9093, 19.9646, 4.0891)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E17 #78178E
analogous
#688E17 #2D8E17 #178E3D
triadic
#2D8E17 #172D8E #8E172D
tetradic
#2D8E17 #17688E #78178E #8E3D17
square
#2D8E17 #17688E #78178E #8E3D17
split-complementary
#2D8E17 #3D178E #8E1768
monochromatic
#0C2506 #1C590E #2D8E17 #3EC320 #5DE03F

Accessibility & contrast

On white

4.21
#2D8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2D8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E17
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E17#FFFFFF#000000##000000
##2D8E171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#1B8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8e17;
/* rgb */ color: rgb(45, 142, 23);
/* oklch */ color: oklch(56.8% 0.174 140.7);
Tailwind
colors: {
  custom: {
    50: '#75b060',
    500: '#2d8e17',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e17;
$custom-light: #75b060;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e17",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 108.908,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.17426,
    "h": 140.7
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

primary
#2D8E17
secondary
#A940C0
accent
#39EFCD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2D8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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