#1C871E#1C871E

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

Color values

HEX#1C871E
RGBrgb(28, 135, 30)
HSLhsl(121, 66%, 32%)
HSVhsv(121, 79%, 53%)
CMYKcmyk(79.3%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.09, -49.53, 44.95)
CIE-LCHlch(49.09, 66.89, 137.77°)
OKLaboklab(54.49% -0.1343 0.1012)
OKLCHoklch(54.49% 0.168 143)
XYZxyz(9.3766, 17.6675, 4.1440)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C871E #871C85
analogous
#50871C #1C871E #1C8753
triadic
#1C871E #1E1C87 #871E1C
tetradic
#1C871E #1C5087 #871C85 #87531C
square
#1C871E #1C5087 #871C85 #87531C
split-complementary
#1C871E #531C87 #871C50
monochromatic
#072207 #115413 #1C871E #27BA29 #45D848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1c871e;
/* rgb */ color: rgb(28, 135, 30);
/* oklch */ color: oklch(54.5% 0.168 143.0);
Tailwind
colors: {
  custom: {
    50: '#6dab62',
    500: '#1c871e',
    950: '#000000',
  },
}
SCSS
$custom: #1c871e;
$custom-light: #6dab62;
$custom-dark: #000000;
JSON
{
  "hex": "#1c871e",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 121.121,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.16818,
    "h": 143
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#1C871E
secondary
#BA45B8
accent
#3FE5E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1C871E

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

Preview Lab → · Contrast checker → · Palette generator →

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