#1D871A#1D871A

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

Color values

HEX#1D871A
RGBrgb(29, 135, 26)
HSLhsl(118, 68%, 32%)
HSVhsv(118, 81%, 53%)
CMYKcmyk(78.5%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.08, -49.67, 46.33)
CIE-LCHlch(49.08, 67.92, 136.99°)
OKLaboklab(54.48% -0.135 0.1035)
OKLCHoklch(54.48% 0.17 142.5)
XYZxyz(9.3565, 17.6626, 3.8932)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D871A #841A87
analogous
#54871A #1D871A #1A874E
triadic
#1D871A #1A1D87 #871A1D
tetradic
#1D871A #1A5487 #841A87 #874E1A
square
#1D871A #1A5487 #841A87 #874E1A
split-complementary
#1D871A #4E1A87 #871A54
monochromatic
#072006 #125410 #1D871A #28BA24 #45DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D871A#FFFFFF#000000##FFFFFF
##1D871A1.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)
#7F7227
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1d871a;
/* rgb */ color: rgb(29, 135, 26);
/* oklch */ color: oklch(54.5% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#6dab60',
    500: '#1d871a',
    950: '#000000',
  },
}
SCSS
$custom: #1d871a;
$custom-light: #6dab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1d871a",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 118.349,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.17005,
    "h": 142.5
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

primary
#1D871A
secondary
#B742BA
accent
#3DEBE6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D871A

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

Preview Lab → · Contrast checker → · Palette generator →

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