#1C8C17#1C8C17

#1C8C17 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.177 H 142.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1C8C17
RGBrgb(28, 140, 23)
HSLhsl(117, 72%, 32%)
HSVhsv(117, 84%, 55%)
CMYKcmyk(80%, 0%, 83.6%, 45.1%)
CIE-LABlab(50.76, -51.64, 48.83)
CIE-LCHlch(50.76, 71.07, 136.60°)
OKLaboklab(55.87% -0.1404 0.1083)
OKLCHoklch(55.87% 0.177 142.4)
XYZxyz(10.0110, 19.0637, 3.9625)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8C17 #87178C
analogous
#578C17 #1C8C17 #178C4D
triadic
#1C8C17 #171C8C #8C171C
tetradic
#1C8C17 #17578C #87178C #8C4D17
square
#1C8C17 #17578C #87178C #8C4D17
split-complementary
#1C8C17 #4D178C #8C1757
monochromatic
#072306 #11570E #1C8C17 #27C120 #45DF3E

Accessibility & contrast

On white

4.36
#1C8C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#1C8C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8C17
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8C17#FFFFFF#000000##000000
##1C8C171.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1c8c17;
/* rgb */ color: rgb(28, 140, 23);
/* oklch */ color: oklch(55.9% 0.177 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf60',
    500: '#1c8c17',
    950: '#000000',
  },
}
SCSS
$custom: #1c8c17;
$custom-light: #6eaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8c17",
  "rgb": {
    "r": 28,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 117.436,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.17727,
    "h": 142.4
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#1C8C17
secondary
#BA3FBF
accent
#39EFE7
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #1C8C17

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

Preview Lab → · Contrast checker → · Palette generator →

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