#1C871F#1C871F

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

Color values

HEX#1C871F
RGBrgb(28, 135, 31)
HSLhsl(122, 66%, 32%)
HSVhsv(122, 79%, 53%)
CMYKcmyk(79.3%, 0%, 77%, 47.1%)
CIE-LABlab(49.10, -49.45, 44.59)
CIE-LCHlch(49.10, 66.59, 137.96°)
OKLaboklab(54.5% -0.1341 0.1006)
OKLCHoklch(54.5% 0.168 143.1)
XYZxyz(9.3896, 17.6726, 4.2124)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C871F #871C84
analogous
#4F871C #1C871F #1C8755
triadic
#1C871F #1F1C87 #871F1C
tetradic
#1C871F #1C4F87 #871C84 #87551C
square
#1C871F #1C4F87 #871C84 #87551C
split-complementary
#1C871F #551C87 #871C4F
monochromatic
#072208 #115413 #1C871F #27BA2B #45D849

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1c871f;
/* rgb */ color: rgb(28, 135, 31);
/* oklch */ color: oklch(54.5% 0.168 143.1);
Tailwind
colors: {
  custom: {
    50: '#6dab62',
    500: '#1c871f',
    950: '#000000',
  },
}
SCSS
$custom: #1c871f;
$custom-light: #6dab62;
$custom-dark: #000000;
JSON
{
  "hex": "#1c871f",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 121.682,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.16761,
    "h": 143.1
  },
  "luminance": 0.17674
}

Semantic roles & 50–950 ramp

primary
#1C871F
secondary
#BA45B7
accent
#3FE4E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1C871F

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

Preview Lab → · Contrast checker → · Palette generator →

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