#1D8817#1D8817

#1D8817 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.173 H 142.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1D8817
RGBrgb(29, 136, 23)
HSLhsl(117, 71%, 31%)
HSVhsv(117, 83%, 53%)
CMYKcmyk(78.7%, 0%, 83.1%, 46.7%)
CIE-LABlab(49.41, -50.19, 47.58)
CIE-LCHlch(49.41, 69.16, 136.53°)
OKLaboklab(54.75% -0.1365 0.1056)
OKLCHoklch(54.75% 0.173 142.3)
XYZxyz(9.4649, 17.9303, 3.7725)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8817 #821788
analogous
#558817 #1D8817 #178849
triadic
#1D8817 #171D88 #88171D
tetradic
#1D8817 #175588 #821788 #884917
square
#1D8817 #175588 #821788 #884917
split-complementary
#1D8817 #491788 #881755
monochromatic
#071F05 #12540E #1D8817 #28BC20 #44DE3B

Accessibility & contrast

On white

4.58
#1D8817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#1D8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8817
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8817#FFFFFF#000000##000000
##1D88171.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#008473
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1d8817;
/* rgb */ color: rgb(29, 136, 23);
/* oklch */ color: oklch(54.8% 0.173 142.3);
Tailwind
colors: {
  custom: {
    50: '#6eac5f',
    500: '#1d8817',
    950: '#000000',
  },
}
SCSS
$custom: #1d8817;
$custom-light: #6eac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8817",
  "rgb": {
    "r": 29,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 116.814,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.1726,
    "h": 142.3
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#1D8817
secondary
#B53FBC
accent
#3AEEE4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D8817

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

Preview Lab → · Contrast checker → · Palette generator →

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