#1C871B#1C871B

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

Color values

HEX#1C871B
RGBrgb(28, 135, 27)
HSLhsl(119, 67%, 32%)
HSVhsv(119, 80%, 53%)
CMYKcmyk(79.3%, 0%, 80%, 47.1%)
CIE-LABlab(49.07, -49.75, 45.98)
CIE-LCHlch(49.07, 67.74, 137.26°)
OKLaboklab(54.47% -0.1351 0.1029)
OKLCHoklch(54.47% 0.17 142.7)
XYZxyz(9.3401, 17.6529, 3.9518)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C871B #861B87
analogous
#52871B #1C871B #1B8750
triadic
#1C871B #1B1C87 #871B1C
tetradic
#1C871B #1B5287 #861B87 #87501B
square
#1C871B #1B5287 #861B87 #87501B
split-complementary
#1C871B #501B87 #871B52
monochromatic
#072107 #115411 #1C871B #27BA25 #44D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1c871b;
/* rgb */ color: rgb(28, 135, 27);
/* oklch */ color: oklch(54.5% 0.170 142.7);
Tailwind
colors: {
  custom: {
    50: '#6dab60',
    500: '#1c871b',
    950: '#000000',
  },
}
SCSS
$custom: #1c871b;
$custom-light: #6dab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1c871b",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 119.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5447,
    "c": 0.1698,
    "h": 142.7
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#1C871B
secondary
#B944BA
accent
#3EEAE8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C871B

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

Preview Lab → · Contrast checker → · Palette generator →

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