#1C7017#1C7017

#1C7017 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.145 H 142.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#1C7017
RGBrgb(28, 112, 23)
HSLhsl(117, 66%, 26%)
HSVhsv(117, 79%, 44%)
CMYKcmyk(75%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.05, -42.21, 39.56)
CIE-LCHlch(41.05, 57.84, 136.85°)
OKLaboklab(47.8% -0.1148 0.0889)
OKLCHoklch(47.8% 0.145 142.3)
XYZxyz(6.4273, 11.8964, 2.7679)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7017 #6B1770
analogous
#497017 #1C7017 #17703F
triadic
#1C7017 #171C70 #70171C
tetradic
#1C7017 #174970 #6B1770 #703F17
square
#1C7017 #174970 #6B1770 #703F17
split-complementary
#1C7017 #3F1770 #701749
monochromatic
#061905 #0F3D0D #1C7017 #29A321 #37D42D

Accessibility & contrast

On white

6.21
#1C7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#1C7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7017
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7017#FFFFFF#000000##FFFFFF
##1C70171.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#026C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1c7017;
/* rgb */ color: rgb(28, 112, 23);
/* oklch */ color: oklch(47.8% 0.145 142.3);
Tailwind
colors: {
  custom: {
    50: '#679a5b',
    500: '#1c7017',
    950: '#000000',
  },
}
SCSS
$custom: #1c7017;
$custom-light: #679a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7017",
  "rgb": {
    "r": 28,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 116.629,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.14524,
    "h": 142.3
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#1C7017
secondary
#A03DA6
accent
#3FE9DF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7017

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

Preview Lab → · Contrast checker → · Palette generator →

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