#1D8017#1D8017

#1D8017 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.164 H 142.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1D8017
RGBrgb(29, 128, 23)
HSLhsl(117, 70%, 30%)
HSVhsv(117, 82%, 50%)
CMYKcmyk(77.3%, 0%, 82%, 49.8%)
CIE-LABlab(46.66, -47.54, 44.98)
CIE-LCHlch(46.66, 65.45, 136.58°)
OKLaboklab(52.46% -0.1293 0.1002)
OKLCHoklch(52.46% 0.164 142.2)
XYZxyz(8.3800, 15.7605, 3.4109)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8017 #7A1780
analogous
#528017 #1D8017 #178045
triadic
#1D8017 #171D80 #80171D
tetradic
#1D8017 #175280 #7A1780 #804517
square
#1D8017 #175280 #7A1780 #804517
split-complementary
#1D8017 #451780 #801752
monochromatic
#061A05 #114C0E #1D8017 #29B420 #40DB36

Accessibility & contrast

On white

5.06
#1D8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1D8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8017
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8017#FFFFFF#000000##FFFFFF
##1D80171.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d8017;
/* rgb */ color: rgb(29, 128, 23);
/* oklch */ color: oklch(52.5% 0.164 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ca65e',
    500: '#1d8017',
    950: '#000000',
  },
}
SCSS
$custom: #1d8017;
$custom-light: #6ca65e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8017",
  "rgb": {
    "r": 29,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 116.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.16363,
    "h": 142.2
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#1D8017
secondary
#AE3EB4
accent
#3BECE2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1D8017

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

Preview Lab → · Contrast checker → · Palette generator →

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