#1C871D#1C871D

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

Color values

HEX#1C871D
RGBrgb(28, 135, 29)
HSLhsl(121, 66%, 32%)
HSVhsv(121, 79%, 53%)
CMYKcmyk(79.3%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.08, -49.61, 45.30)
CIE-LCHlch(49.08, 67.18, 137.60°)
OKLaboklab(54.48% -0.1346 0.1017)
OKLCHoklch(54.48% 0.169 142.9)
XYZxyz(9.3640, 17.6624, 4.0778)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C871D #871C86
analogous
#51871C #1C871D #1C8753
triadic
#1C871D #1D1C87 #871D1C
tetradic
#1C871D #1C5187 #871C86 #87531C
square
#1C871D #1C5187 #871C86 #87531C
split-complementary
#1C871D #531C87 #871C51
monochromatic
#072207 #115412 #1C871D #27BA28 #45D846

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1c871d;
/* rgb */ color: rgb(28, 135, 29);
/* oklch */ color: oklch(54.5% 0.169 142.9);
Tailwind
colors: {
  custom: {
    50: '#6dab61',
    500: '#1c871d',
    950: '#000000',
  },
}
SCSS
$custom: #1c871d;
$custom-light: #6dab61;
$custom-dark: #000000;
JSON
{
  "hex": "#1c871d",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 120.561,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.16873,
    "h": 142.9
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

primary
#1C871D
secondary
#BA45B9
accent
#3FE7E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1C871D

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

Preview Lab → · Contrast checker → · Palette generator →

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