#1C7E17#1C7E17

#1C7E17 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.162 H 142.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1C7E17
RGBrgb(28, 126, 23)
HSLhsl(117, 69%, 29%)
HSVhsv(117, 82%, 49%)
CMYKcmyk(77.8%, 0%, 81.7%, 50.6%)
CIE-LABlab(45.95, -47.04, 44.30)
CIE-LCHlch(45.95, 64.61, 136.72°)
OKLaboklab(51.87% -0.1279 0.0988)
OKLCHoklch(51.87% 0.162 142.3)
XYZxyz(8.0939, 15.2295, 3.3235)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E17 #79177E
analogous
#507E17 #1C7E17 #177E46
triadic
#1C7E17 #171C7E #7E171C
tetradic
#1C7E17 #17507E #79177E #7E4617
square
#1C7E17 #17507E #79177E #7E4617
split-complementary
#1C7E17 #46177E #7E1750
monochromatic
#061A05 #104A0E #1C7E17 #28B220 #3DDA35

Accessibility & contrast

On white

5.19
#1C7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1C7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E17
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E17#FFFFFF#000000##FFFFFF
##1C7E171.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e17;
/* rgb */ color: rgb(28, 126, 23);
/* oklch */ color: oklch(51.9% 0.162 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba45d',
    500: '#1c7e17',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e17;
$custom-light: #6ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e17",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 117.087,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51865,
    "c": 0.16164,
    "h": 142.3
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#1C7E17
secondary
#AD3EB3
accent
#3CECE3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1C7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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