#1D7E17#1D7E17

#1D7E17 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.161 H 142.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1D7E17
RGBrgb(29, 126, 23)
HSLhsl(117, 69%, 29%)
HSVhsv(117, 82%, 49%)
CMYKcmyk(77%, 0%, 81.7%, 50.6%)
CIE-LABlab(45.97, -46.87, 44.33)
CIE-LCHlch(45.97, 64.51, 136.60°)
OKLaboklab(51.89% -0.1275 0.0988)
OKLCHoklch(51.89% 0.161 142.2)
XYZxyz(8.1217, 15.2439, 3.3248)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E17 #78177E
analogous
#517E17 #1D7E17 #177E45
triadic
#1D7E17 #171D7E #7E171D
tetradic
#1D7E17 #17517E #78177E #7E4517
square
#1D7E17 #17517E #78177E #7E4517
split-complementary
#1D7E17 #45177E #7E1751
monochromatic
#061A05 #114A0E #1D7E17 #29B220 #3FDA35

Accessibility & contrast

On white

5.19
#1D7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1D7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7E17
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E17#FFFFFF#000000##FFFFFF
##1D7E171.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7e17;
/* rgb */ color: rgb(29, 126, 23);
/* oklch */ color: oklch(51.9% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba45d',
    500: '#1d7e17',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e17;
$custom-light: #6ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e17",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 116.505,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.16134,
    "h": 142.2
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#1D7E17
secondary
#AC3EB3
accent
#3CECE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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