#1D871D#1D871D

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

Color values

HEX#1D871D
RGBrgb(29, 135, 29)
HSLhsl(120, 65%, 32%)
HSVhsv(120, 79%, 53%)
CMYKcmyk(78.5%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.10, -49.45, 45.32)
CIE-LCHlch(49.10, 67.08, 137.50°)
OKLaboklab(54.5% -0.1342 0.1018)
OKLCHoklch(54.5% 0.168 142.8)
XYZxyz(9.3919, 17.6768, 4.0791)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D871D #871D87
analogous
#52871D #1D871D #1D8752
triadic
#1D871D #1D1D87 #871D1D
tetradic
#1D871D #1D5287 #871D87 #87521D
square
#1D871D #1D5287 #871D87 #87521D
split-complementary
#1D871D #521D87 #871D52
monochromatic
#072207 #125512 #1D871D #28B928 #47D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D871D#FFFFFF#000000##FFFFFF
##1D871D1.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)
#8A7A04
Deuteranopia (green-blind)
#7E7229
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1d871d;
/* rgb */ color: rgb(29, 135, 29);
/* oklch */ color: oklch(54.5% 0.168 142.8);
Tailwind
colors: {
  custom: {
    50: '#6dab61',
    500: '#1d871d',
    950: '#000000',
  },
}
SCSS
$custom: #1d871d;
$custom-light: #6dab61;
$custom-dark: #000000;
JSON
{
  "hex": "#1d871d",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 120,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.16847,
    "h": 142.8
  },
  "luminance": 0.17678
}

Semantic roles & 50–950 ramp

primary
#1D871D
secondary
#B946B9
accent
#40E8E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1D871D

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

Preview Lab → · Contrast checker → · Palette generator →

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