#1D8417#1D8417

#1D8417 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.168 H 142.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1D8417
RGBrgb(29, 132, 23)
HSLhsl(117, 70%, 30%)
HSVhsv(117, 83%, 52%)
CMYKcmyk(78%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.04, -48.87, 46.29)
CIE-LCHlch(48.04, 67.32, 136.56°)
OKLaboklab(53.61% -0.1329 0.103)
OKLCHoklch(53.61% 0.168 142.2)
XYZxyz(8.9121, 16.8246, 3.5882)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8417 #7E1784
analogous
#548417 #1D8417 #178447
triadic
#1D8417 #171D84 #84171D
tetradic
#1D8417 #175484 #7E1784 #844717
square
#1D8417 #175484 #7E1784 #844717
split-complementary
#1D8417 #471784 #841754
monochromatic
#061C05 #12500E #1D8417 #28B820 #42DC39

Accessibility & contrast

On white

4.81
#1D8417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1D8417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8417
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8417#FFFFFF#000000##FFFFFF
##1D84171.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1d8417;
/* rgb */ color: rgb(29, 132, 23);
/* oklch */ color: oklch(53.6% 0.168 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da95e',
    500: '#1d8417',
    950: '#000000',
  },
}
SCSS
$custom: #1d8417;
$custom-light: #6da95e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8417",
  "rgb": {
    "r": 29,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 116.697,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.16814,
    "h": 142.2
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#1D8417
secondary
#B13FB8
accent
#3BEDE3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D8417

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

Preview Lab → · Contrast checker → · Palette generator →

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