#1D7217#1D7217

#1D7217 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.147 H 142.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1D7217
RGBrgb(29, 114, 23)
HSLhsl(116, 66%, 27%)
HSVhsv(116, 80%, 45%)
CMYKcmyk(74.6%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.78, -42.72, 40.28)
CIE-LCHlch(41.78, 58.72, 136.69°)
OKLaboklab(48.41% -0.1163 0.0904)
OKLCHoklch(48.41% 0.147 142.1)
XYZxyz(6.6783, 12.3570, 2.8436)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7217 #6C1772
analogous
#4B7217 #1D7217 #17723F
triadic
#1D7217 #171D72 #72171D
tetradic
#1D7217 #174B72 #6C1772 #723F17
square
#1D7217 #174B72 #6C1772 #723F17
split-complementary
#1D7217 #3F1772 #72174B
monochromatic
#061905 #103F0D #1D7217 #2AA521 #39D52E

Accessibility & contrast

On white

6.05
#1D7217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1D7217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7217
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7217#FFFFFF#000000##FFFFFF
##1D72171.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#036E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7217;
/* rgb */ color: rgb(29, 114, 23);
/* oklch */ color: oklch(48.4% 0.147 142.1);
Tailwind
colors: {
  custom: {
    50: '#689b5b',
    500: '#1d7217',
    950: '#000000',
  },
}
SCSS
$custom: #1d7217;
$custom-light: #689b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7217",
  "rgb": {
    "r": 29,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 116.044,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48407,
    "c": 0.1473,
    "h": 142.1
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#1D7217
secondary
#A13DA8
accent
#3EE9DE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7217

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

Preview Lab → · Contrast checker → · Palette generator →

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