#1D7D17#1D7D17

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

Color values

HEX#1D7D17
RGBrgb(29, 125, 23)
HSLhsl(116, 69%, 29%)
HSVhsv(116, 82%, 49%)
CMYKcmyk(76.8%, 0%, 81.6%, 51%)
CIE-LABlab(45.62, -46.53, 44.00)
CIE-LCHlch(45.62, 64.04, 136.60°)
OKLaboklab(51.6% -0.1266 0.0982)
OKLCHoklch(51.6% 0.16 142.2)
XYZxyz(7.9945, 14.9894, 3.2824)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D17 #77177D
analogous
#507D17 #1D7D17 #177D44
triadic
#1D7D17 #171D7D #7D171D
tetradic
#1D7D17 #17507D #77177D #7D4417
square
#1D7D17 #17507D #77177D #7D4417
split-complementary
#1D7D17 #44177D #7D1750
monochromatic
#061A05 #11490D #1D7D17 #29B121 #3EDA35

Accessibility & contrast

On white

5.25
#1D7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1D7D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D17
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D17#FFFFFF#000000##FFFFFF
##1D7D171.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d17;
/* rgb */ color: rgb(29, 125, 23);
/* oklch */ color: oklch(51.6% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba45d',
    500: '#1d7d17',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d17;
$custom-light: #6ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d17",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 116.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.1602,
    "h": 142.2
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#1D7D17
secondary
#AB3EB2
accent
#3CECE1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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