#1D871E#1D871E

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

Color values

HEX#1D871E
RGBrgb(29, 135, 30)
HSLhsl(121, 65%, 32%)
HSVhsv(121, 79%, 53%)
CMYKcmyk(78.5%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.11, -49.38, 44.97)
CIE-LCHlch(49.11, 66.79, 137.67°)
OKLaboklab(54.51% -0.134 0.1012)
OKLCHoklch(54.51% 0.168 142.9)
XYZxyz(9.4044, 17.6818, 4.1453)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D871E #871D86
analogous
#51871D #1D871E #1D8753
triadic
#1D871E #1E1D87 #871E1D
tetradic
#1D871E #1D5187 #871D86 #87531D
square
#1D871E #1D5187 #871D86 #87531D
split-complementary
#1D871E #531D87 #871D51
monochromatic
#072208 #125513 #1D871E #28B929 #47D748

Accessibility & contrast

On white

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

On black

4.54
#1D871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D871E#FFFFFF#000000##FFFFFF
##1D871E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d871e;
/* rgb */ color: rgb(29, 135, 30);
/* oklch */ color: oklch(54.5% 0.168 142.9);
Tailwind
colors: {
  custom: {
    50: '#6dab62',
    500: '#1d871e',
    950: '#000000',
  },
}
SCSS
$custom: #1d871e;
$custom-light: #6dab62;
$custom-dark: #000000;
JSON
{
  "hex": "#1d871e",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 120.566,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.16791,
    "h": 142.9
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#1D871E
secondary
#B946B8
accent
#40E6E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1D871E

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

Preview Lab → · Contrast checker → · Palette generator →

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