#1C8F17#1C8F17

#1C8F17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.181 H 142.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1C8F17
RGBrgb(28, 143, 23)
HSLhsl(118, 72%, 33%)
HSVhsv(118, 84%, 56%)
CMYKcmyk(80.4%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.78, -52.60, 49.77)
CIE-LCHlch(51.78, 72.42, 136.58°)
OKLaboklab(56.72% -0.143 0.1102)
OKLCHoklch(56.72% 0.181 142.4)
XYZxyz(10.4554, 19.9524, 4.1106)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8F17 #8A178F
analogous
#588F17 #1C8F17 #178F4E
triadic
#1C8F17 #171C8F #8F171C
tetradic
#1C8F17 #17588F #8A178F #8F4E17
square
#1C8F17 #17588F #8A178F #8F4E17
split-complementary
#1C8F17 #4E178F #8F1758
monochromatic
#072606 #125A0F #1C8F17 #26C41F #47E040

Accessibility & contrast

On white

4.21
#1C8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1C8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8F17
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8F17#FFFFFF#000000##000000
##1C8F171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1c8f17;
/* rgb */ color: rgb(28, 143, 23);
/* oklch */ color: oklch(56.7% 0.181 142.4);
Tailwind
colors: {
  custom: {
    50: '#6fb160',
    500: '#1c8f17',
    950: '#000000',
  },
}
SCSS
$custom: #1c8f17;
$custom-light: #6fb160;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8f17",
  "rgb": {
    "r": 28,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 117.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56719,
    "c": 0.18054,
    "h": 142.4
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#1C8F17
secondary
#BB41C1
accent
#39EFE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1C8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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