#1C8517#1C8517

#1C8517 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.170 H 142.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1C8517
RGBrgb(28, 133, 23)
HSLhsl(117, 71%, 31%)
HSVhsv(117, 83%, 52%)
CMYKcmyk(78.9%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.36, -49.36, 46.59)
CIE-LCHlch(48.36, 67.88, 136.65°)
OKLaboklab(53.87% -0.1342 0.1036)
OKLCHoklch(53.87% 0.17 142.3)
XYZxyz(9.0205, 17.0827, 3.6323)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8517 #801785
analogous
#538517 #1C8517 #178549
triadic
#1C8517 #171C85 #85171C
tetradic
#1C8517 #175385 #801785 #854917
square
#1C8517 #175385 #801785 #854917
split-complementary
#1C8517 #491785 #851753
monochromatic
#061D05 #11510E #1C8517 #27B920 #41DD3A

Accessibility & contrast

On white

4.75
#1C8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1C8517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8517
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8517#FFFFFF#000000##FFFFFF
##1C85171.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1c8517;
/* rgb */ color: rgb(28, 133, 23);
/* oklch */ color: oklch(53.9% 0.170 142.3);
Tailwind
colors: {
  custom: {
    50: '#6caa5e',
    500: '#1c8517',
    950: '#000000',
  },
}
SCSS
$custom: #1c8517;
$custom-light: #6caa5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8517",
  "rgb": {
    "r": 28,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 117.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.16953,
    "h": 142.3
  },
  "luminance": 0.17084
}

Semantic roles & 50–950 ramp

primary
#1C8517
secondary
#B33FB9
accent
#3BEDE5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C8517

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

Preview Lab → · Contrast checker → · Palette generator →

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