#1D871B#1D871B

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

Color values

HEX#1D871B
RGBrgb(29, 135, 27)
HSLhsl(119, 67%, 32%)
HSVhsv(119, 80%, 53%)
CMYKcmyk(78.5%, 0%, 80%, 47.1%)
CIE-LABlab(49.09, -49.60, 46.00)
CIE-LCHlch(49.09, 67.65, 137.16°)
OKLaboklab(54.49% -0.1347 0.1029)
OKLCHoklch(54.49% 0.17 142.6)
XYZxyz(9.3679, 17.6672, 3.9531)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D871B #851B87
analogous
#53871B #1D871B #1B874F
triadic
#1D871B #1B1D87 #871B1D
tetradic
#1D871B #1B5387 #851B87 #874F1B
square
#1D871B #1B5387 #851B87 #874F1B
split-complementary
#1D871B #4F1B87 #871B53
monochromatic
#072107 #125411 #1D871B #28BA25 #46D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D871B#FFFFFF#000000##FFFFFF
##1D871B1.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)
#8A7A00
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1d871b;
/* rgb */ color: rgb(29, 135, 27);
/* oklch */ color: oklch(54.5% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#6dab60',
    500: '#1d871b',
    950: '#000000',
  },
}
SCSS
$custom: #1d871b;
$custom-light: #6dab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1d871b",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 118.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.16953,
    "h": 142.6
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#1D871B
secondary
#B844BA
accent
#3EEAE6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D871B

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

Preview Lab → · Contrast checker → · Palette generator →

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