#1D8D17#1D8D17

#1D8D17 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.178 H 142.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1D8D17
RGBrgb(29, 141, 23)
HSLhsl(117, 72%, 32%)
HSVhsv(117, 84%, 55%)
CMYKcmyk(79.4%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.12, -51.81, 49.17)
CIE-LCHlch(51.12, 71.43, 136.50°)
OKLaboklab(56.17% -0.1409 0.109)
OKLCHoklch(56.17% 0.178 142.3)
XYZxyz(10.1856, 19.3716, 4.0127)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8D17 #87178D
analogous
#588D17 #1D8D17 #178D4C
triadic
#1D8D17 #171D8D #8D171D
tetradic
#1D8D17 #17588D #87178D #8D4C17
square
#1D8D17 #17588D #87178D #8D4C17
split-complementary
#1D8D17 #4C178D #8D1758
monochromatic
#072406 #12580E #1D8D17 #28C220 #47E03F

Accessibility & contrast

On white

4.31
#1D8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1D8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D8D17#FFFFFF#000000##000000
##1D8D171.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1d8d17;
/* rgb */ color: rgb(29, 141, 23);
/* oklch */ color: oklch(56.2% 0.178 142.3);
Tailwind
colors: {
  custom: {
    50: '#6faf60',
    500: '#1d8d17',
    950: '#000000',
  },
}
SCSS
$custom: #1d8d17;
$custom-light: #6faf60;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8d17",
  "rgb": {
    "r": 29,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 116.949,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.17811,
    "h": 142.3
  },
  "luminance": 0.19373
}

Semantic roles & 50–950 ramp

primary
#1D8D17
secondary
#B940C0
accent
#39EFE5
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #1D8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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