#2D8F17#2D8F17

#2D8F17 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.175 H 140.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D8F17
RGBrgb(45, 143, 23)
HSLhsl(109, 72%, 33%)
HSVhsv(109, 84%, 56%)
CMYKcmyk(68.5%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.13, -49.59, 50.23)
CIE-LCHlch(52.13, 70.58, 134.63°)
OKLaboklab(57.11% -0.1358 0.111)
OKLCHoklch(57.11% 0.175 140.7)
XYZxyz(11.0587, 20.2635, 4.1389)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F17 #79178F
analogous
#698F17 #2D8F17 #178F3D
triadic
#2D8F17 #172D8F #8F172D
tetradic
#2D8F17 #17698F #79178F #8F3D17
square
#2D8F17 #17698F #79178F #8F3D17
split-complementary
#2D8F17 #3D178F #8F1769
monochromatic
#0C2606 #1C5A0F #2D8F17 #3EC41F #5DE040

Accessibility & contrast

On white

4.16
#2D8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2D8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F17
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F17#FFFFFF#000000##000000
##2D8F171.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#1A8A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f17;
/* rgb */ color: rgb(45, 143, 23);
/* oklch */ color: oklch(57.1% 0.175 140.7);
Tailwind
colors: {
  custom: {
    50: '#75b160',
    500: '#2d8f17',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f17;
$custom-light: #75b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f17",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 109,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.17539,
    "h": 140.7
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#2D8F17
secondary
#A941C1
accent
#39EFCE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2D8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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