#1C8D17#1C8D17

#1C8D17 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.178 H 142.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1C8D17
RGBrgb(28, 141, 23)
HSLhsl(117, 72%, 32%)
HSVhsv(117, 84%, 55%)
CMYKcmyk(80.1%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.10, -51.96, 49.15)
CIE-LCHlch(51.10, 71.52, 136.59°)
OKLaboklab(56.15% -0.1412 0.1089)
OKLCHoklch(56.15% 0.178 142.4)
XYZxyz(10.1578, 19.3573, 4.0114)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8D17 #88178D
analogous
#578D17 #1C8D17 #178D4D
triadic
#1C8D17 #171C8D #8D171C
tetradic
#1C8D17 #17578D #88178D #8D4D17
square
#1C8D17 #17578D #88178D #8D4D17
split-complementary
#1C8D17 #4D178D #8D1757
monochromatic
#072406 #12580E #1C8D17 #26C220 #46E03F

Accessibility & contrast

On white

4.31
#1C8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1C8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8D17
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8D17#FFFFFF#000000##000000
##1C8D171.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1c8d17;
/* rgb */ color: rgb(28, 141, 23);
/* oklch */ color: oklch(56.2% 0.178 142.4);
Tailwind
colors: {
  custom: {
    50: '#6faf60',
    500: '#1c8d17',
    950: '#000000',
  },
}
SCSS
$custom: #1c8d17;
$custom-light: #6faf60;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8d17",
  "rgb": {
    "r": 28,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 117.458,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.17836,
    "h": 142.4
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#1C8D17
secondary
#BA40C0
accent
#39EFE7
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #1C8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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