#1D8F17#1D8F17

#1D8F17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.180 H 142.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1D8F17
RGBrgb(29, 143, 23)
HSLhsl(117, 72%, 33%)
HSVhsv(117, 84%, 56%)
CMYKcmyk(79.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.80, -52.45, 49.80)
CIE-LCHlch(51.80, 72.33, 136.49°)
OKLaboklab(56.74% -0.1426 0.1103)
OKLCHoklch(56.74% 0.18 142.3)
XYZxyz(10.4832, 19.9667, 4.1119)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8F17 #89178F
analogous
#598F17 #1D8F17 #178F4D
triadic
#1D8F17 #171D8F #8F171D
tetradic
#1D8F17 #17598F #89178F #8F4D17
square
#1D8F17 #17598F #89178F #8F4D17
split-complementary
#1D8F17 #4D178F #8F1759
monochromatic
#082606 #125A0F #1D8F17 #28C41F #48E040

Accessibility & contrast

On white

4.21
#1D8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1D8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8F17
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8F17#FFFFFF#000000##000000
##1D8F171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1d8f17;
/* rgb */ color: rgb(29, 143, 23);
/* oklch */ color: oklch(56.7% 0.180 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fb160',
    500: '#1d8f17',
    950: '#000000',
  },
}
SCSS
$custom: #1d8f17;
$custom-light: #6fb160;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8f17",
  "rgb": {
    "r": 29,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 117,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.18029,
    "h": 142.3
  },
  "luminance": 0.19968
}

Semantic roles & 50–950 ramp

primary
#1D8F17
secondary
#BA41C1
accent
#39EFE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1D8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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