#1D7917#1D7917

#1D7917 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.156 H 142.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1D7917
RGBrgb(29, 121, 23)
HSLhsl(116, 68%, 28%)
HSVhsv(116, 81%, 47%)
CMYKcmyk(76%, 0%, 81%, 52.5%)
CIE-LABlab(44.23, -45.16, 42.66)
CIE-LCHlch(44.23, 62.13, 136.63°)
OKLaboklab(50.44% -0.1229 0.0954)
OKLCHoklch(50.44% 0.156 142.2)
XYZxyz(7.4983, 13.9970, 3.1170)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7917 #731779
analogous
#4E7917 #1D7917 #177942
triadic
#1D7917 #171D79 #79171D
tetradic
#1D7917 #174E79 #731779 #794217
square
#1D7917 #174E79 #731779 #794217
split-complementary
#1D7917 #421779 #79174E
monochromatic
#061A05 #11460D #1D7917 #29AC21 #3CD832

Accessibility & contrast

On white

5.53
#1D7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1D7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7917
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7917#FFFFFF#000000##FFFFFF
##1D79171.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1d7917;
/* rgb */ color: rgb(29, 121, 23);
/* oklch */ color: oklch(50.4% 0.156 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa15d',
    500: '#1d7917',
    950: '#000000',
  },
}
SCSS
$custom: #1d7917;
$custom-light: #6aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7917",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 116.327,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.15557,
    "h": 142.2
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#1D7917
secondary
#A73EAE
accent
#3DEBE0
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1D7917

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

Preview Lab → · Contrast checker → · Palette generator →

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