#1D871F#1D871F

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

Color values

HEX#1D871F
RGBrgb(29, 135, 31)
HSLhsl(121, 65%, 32%)
HSVhsv(121, 79%, 53%)
CMYKcmyk(78.5%, 0%, 77%, 47.1%)
CIE-LABlab(49.11, -49.30, 44.62)
CIE-LCHlch(49.11, 66.49, 137.85°)
OKLaboklab(54.52% -0.1337 0.1006)
OKLCHoklch(54.52% 0.167 143)
XYZxyz(9.4174, 17.6870, 4.2137)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D871F #871D85
analogous
#50871D #1D871F #1D8754
triadic
#1D871F #1F1D87 #871F1D
tetradic
#1D871F #1D5087 #871D85 #87541D
square
#1D871F #1D5087 #871D85 #87541D
split-complementary
#1D871F #541D87 #871D50
monochromatic
#072208 #125513 #1D871F #28B92B #47D74A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D871F#FFFFFF#000000##FFFFFF
##1D871F1.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)
#8A7A09
Deuteranopia (green-blind)
#7E722A
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1d871f;
/* rgb */ color: rgb(29, 135, 31);
/* oklch */ color: oklch(54.5% 0.167 143.0);
Tailwind
colors: {
  custom: {
    50: '#6dab62',
    500: '#1d871f',
    950: '#000000',
  },
}
SCSS
$custom: #1d871f;
$custom-light: #6dab62;
$custom-dark: #000000;
JSON
{
  "hex": "#1d871f",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 121.132,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54518,
    "c": 0.16734,
    "h": 143
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#1D871F
secondary
#B946B7
accent
#40E4E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1D871F

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

Preview Lab → · Contrast checker → · Palette generator →

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