#1C871A#1C871A

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

Color values

HEX#1C871A
RGBrgb(28, 135, 26)
HSLhsl(119, 68%, 32%)
HSVhsv(119, 81%, 53%)
CMYKcmyk(79.3%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.07, -49.82, 46.30)
CIE-LCHlch(49.07, 68.02, 137.10°)
OKLaboklab(54.46% -0.1353 0.1034)
OKLCHoklch(54.46% 0.17 142.6)
XYZxyz(9.3287, 17.6483, 3.8919)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C871A #851A87
analogous
#53871A #1C871A #1A874F
triadic
#1C871A #1A1C87 #871A1C
tetradic
#1C871A #1A5387 #851A87 #874F1A
square
#1C871A #1A5387 #851A87 #874F1A
split-complementary
#1C871A #4F1A87 #871A53
monochromatic
#072006 #115410 #1C871A #27BA24 #44DA41

Accessibility & contrast

On white

4.64
#1C871A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C871A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C871A#FFFFFF#000000##FFFFFF
##1C871A1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1c871a;
/* rgb */ color: rgb(28, 135, 26);
/* oklch */ color: oklch(54.5% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#6dab60',
    500: '#1c871a',
    950: '#000000',
  },
}
SCSS
$custom: #1c871a;
$custom-light: #6dab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1c871a",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 118.899,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.17031,
    "h": 142.6
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#1C871A
secondary
#B842BA
accent
#3DEBE7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C871A

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

Preview Lab → · Contrast checker → · Palette generator →

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