#1C8017#1C8017

#1C8017 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.164 H 142.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1C8017
RGBrgb(28, 128, 23)
HSLhsl(117, 70%, 30%)
HSVhsv(117, 82%, 50%)
CMYKcmyk(78.1%, 0%, 82%, 49.8%)
CIE-LABlab(46.64, -47.71, 44.96)
CIE-LCHlch(46.64, 65.55, 136.70°)
OKLaboklab(52.44% -0.1297 0.1002)
OKLCHoklch(52.44% 0.164 142.3)
XYZxyz(8.3522, 15.7461, 3.4096)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8017 #7B1780
analogous
#518017 #1C8017 #178047
triadic
#1C8017 #171C80 #80171C
tetradic
#1C8017 #175180 #7B1780 #804717
square
#1C8017 #175180 #7B1780 #804717
split-complementary
#1C8017 #471780 #801751
monochromatic
#061A05 #114C0E #1C8017 #27B420 #3EDB36

Accessibility & contrast

On white

5.06
#1C8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1C8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8017
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8017#FFFFFF#000000##FFFFFF
##1C80171.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1c8017;
/* rgb */ color: rgb(28, 128, 23);
/* oklch */ color: oklch(52.4% 0.164 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba65e',
    500: '#1c8017',
    950: '#000000',
  },
}
SCSS
$custom: #1c8017;
$custom-light: #6ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8017",
  "rgb": {
    "r": 28,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 117.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52441,
    "c": 0.16391,
    "h": 142.3
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#1C8017
secondary
#AF3EB4
accent
#3BECE4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1C8017

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

Preview Lab → · Contrast checker → · Palette generator →

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