#1D871C#1D871C

#1D871C is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.169 H 142.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1D871C
RGBrgb(29, 135, 28)
HSLhsl(119, 66%, 32%)
HSVhsv(119, 79%, 53%)
CMYKcmyk(78.5%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.10, -49.53, 45.66)
CIE-LCHlch(49.10, 67.37, 137.32°)
OKLaboklab(54.5% -0.1345 0.1024)
OKLCHoklch(54.5% 0.169 142.7)
XYZxyz(9.3797, 17.6719, 4.0151)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D871C #861C87
analogous
#53871C #1D871C #1C8751
triadic
#1D871C #1C1D87 #871C1D
tetradic
#1D871C #1C5387 #861C87 #87511C
square
#1D871C #1C5387 #861C87 #87511C
split-complementary
#1D871C #511C87 #871C53
monochromatic
#072207 #125411 #1D871C #28BA27 #46D845

Accessibility & contrast

On white

4.63
#1D871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#1D871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1D871C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D871C#FFFFFF#000000##FFFFFF
##1D871C1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A02
Deuteranopia (green-blind)
#7E7228
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1d871c;
/* rgb */ color: rgb(29, 135, 28);
/* oklch */ color: oklch(54.5% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#6dab61',
    500: '#1d871c',
    950: '#000000',
  },
}
SCSS
$custom: #1d871c;
$custom-light: #6dab61;
$custom-dark: #000000;
JSON
{
  "hex": "#1d871c",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 119.439,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54497,
    "c": 0.16901,
    "h": 142.7
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#1D871C
secondary
#B945BA
accent
#3FE9E7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1D871C

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

Preview Lab → · Contrast checker → · Palette generator →

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