#1D8517#1D8517

#1D8517 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.169 H 142.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1D8517
RGBrgb(29, 133, 23)
HSLhsl(117, 71%, 31%)
HSVhsv(117, 83%, 52%)
CMYKcmyk(78.2%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.38, -49.21, 46.61)
CIE-LCHlch(48.38, 67.78, 136.55°)
OKLaboklab(53.9% -0.1338 0.1036)
OKLCHoklch(53.9% 0.169 142.3)
XYZxyz(9.0483, 17.0971, 3.6336)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8517 #7F1785
analogous
#548517 #1D8517 #178548
triadic
#1D8517 #171D85 #85171D
tetradic
#1D8517 #175485 #7F1785 #854817
square
#1D8517 #175485 #7F1785 #854817
split-complementary
#1D8517 #481785 #851754
monochromatic
#061D05 #12510E #1D8517 #28B920 #42DD3A

Accessibility & contrast

On white

4.75
#1D8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1D8517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8517
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8517#FFFFFF#000000##FFFFFF
##1D85171.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1d8517;
/* rgb */ color: rgb(29, 133, 23);
/* oklch */ color: oklch(53.9% 0.169 142.3);
Tailwind
colors: {
  custom: {
    50: '#6daa5e',
    500: '#1d8517',
    950: '#000000',
  },
}
SCSS
$custom: #1d8517;
$custom-light: #6daa5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8517",
  "rgb": {
    "r": 29,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 116.727,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.16927,
    "h": 142.3
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#1D8517
secondary
#B23FB9
accent
#3BEDE4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D8517

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

Preview Lab → · Contrast checker → · Palette generator →

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