#1D7417#1D7417

#1D7417 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.150 H 142.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#1D7417
RGBrgb(29, 116, 23)
HSLhsl(116, 67%, 27%)
HSVhsv(116, 80%, 45%)
CMYKcmyk(75%, 0%, 80.2%, 54.5%)
CIE-LABlab(42.48, -43.43, 40.97)
CIE-LCHlch(42.48, 59.70, 136.67°)
OKLaboklab(48.99% -0.1182 0.0918)
OKLCHoklch(48.99% 0.15 142.2)
XYZxyz(6.9063, 12.8131, 2.9196)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7417 #6E1774
analogous
#4C7417 #1D7417 #177440
triadic
#1D7417 #171D74 #74171D
tetradic
#1D7417 #174C74 #6E1774 #744017
square
#1D7417 #174C74 #6E1774 #744017
split-complementary
#1D7417 #401774 #74174C
monochromatic
#061A05 #10410D #1D7417 #2AA721 #3AD630

Accessibility & contrast

On white

5.89
#1D7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1D7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7417
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7417#FFFFFF#000000##FFFFFF
##1D74171.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#027062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1d7417;
/* rgb */ color: rgb(29, 116, 23);
/* oklch */ color: oklch(49.0% 0.150 142.2);
Tailwind
colors: {
  custom: {
    50: '#689d5c',
    500: '#1d7417',
    950: '#000000',
  },
}
SCSS
$custom: #1d7417;
$custom-light: #689d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7417",
  "rgb": {
    "r": 29,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 116.129,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4899,
    "c": 0.14969,
    "h": 142.2
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#1D7417
secondary
#A23DA9
accent
#3EEADF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7417

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

Preview Lab → · Contrast checker → · Palette generator →

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