#1C871C#1C871C

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

Color values

HEX#1C871C
RGBrgb(28, 135, 28)
HSLhsl(120, 66%, 32%)
HSVhsv(120, 79%, 53%)
CMYKcmyk(79.3%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.08, -49.68, 45.64)
CIE-LCHlch(49.08, 67.46, 137.43°)
OKLaboklab(54.48% -0.1348 0.1023)
OKLCHoklch(54.48% 0.169 142.8)
XYZxyz(9.3519, 17.6576, 4.0138)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C871C #871C87
analogous
#52871C #1C871C #1C8752
triadic
#1C871C #1C1C87 #871C1C
tetradic
#1C871C #1C5287 #871C87 #87521C
square
#1C871C #1C5287 #871C87 #87521C
split-complementary
#1C871C #521C87 #871C52
monochromatic
#072207 #115411 #1C871C #27BA27 #45D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C871C#FFFFFF#000000##FFFFFF
##1C871C1.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)
#8A7A02
Deuteranopia (green-blind)
#7E7228
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1c871c;
/* rgb */ color: rgb(28, 135, 28);
/* oklch */ color: oklch(54.5% 0.169 142.8);
Tailwind
colors: {
  custom: {
    50: '#6dab61',
    500: '#1c871c',
    950: '#000000',
  },
}
SCSS
$custom: #1c871c;
$custom-light: #6dab61;
$custom-dark: #000000;
JSON
{
  "hex": "#1c871c",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 120,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.16927,
    "h": 142.8
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#1C871C
secondary
#BA45BA
accent
#3FE9E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1C871C

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

Preview Lab → · Contrast checker → · Palette generator →

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