#1D7C17#1D7C17

#1D7C17 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.159 H 142.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1D7C17
RGBrgb(29, 124, 23)
HSLhsl(116, 69%, 29%)
HSVhsv(116, 81%, 49%)
CMYKcmyk(76.6%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.27, -46.19, 43.66)
CIE-LCHlch(45.27, 63.56, 136.61°)
OKLaboklab(51.31% -0.1257 0.0975)
OKLCHoklch(51.31% 0.159 142.2)
XYZxyz(7.8685, 14.7375, 3.2404)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7C17 #76177C
analogous
#507C17 #1D7C17 #177C44
triadic
#1D7C17 #171D7C #7C171D
tetradic
#1D7C17 #17507C #76177C #7C4417
square
#1D7C17 #17507C #76177C #7C4417
split-complementary
#1D7C17 #44177C #7C1750
monochromatic
#061A05 #11480D #1D7C17 #29B021 #3ED934

Accessibility & contrast

On white

5.32
#1D7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1D7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7C17
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7C17#FFFFFF#000000##FFFFFF
##1D7C171.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d7c17;
/* rgb */ color: rgb(29, 124, 23);
/* oklch */ color: oklch(51.3% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa35d',
    500: '#1d7c17',
    950: '#000000',
  },
}
SCSS
$custom: #1d7c17;
$custom-light: #6aa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7c17",
  "rgb": {
    "r": 29,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 116.436,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.15905,
    "h": 142.2
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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