#1C7917#1C7917

#1C7917 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.156 H 142.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1C7917
RGBrgb(28, 121, 23)
HSLhsl(117, 68%, 28%)
HSVhsv(117, 81%, 47%)
CMYKcmyk(76.9%, 0%, 81%, 52.5%)
CIE-LABlab(44.21, -45.34, 42.63)
CIE-LCHlch(44.21, 62.24, 136.76°)
OKLaboklab(50.42% -0.1233 0.0953)
OKLCHoklch(50.42% 0.156 142.3)
XYZxyz(7.4705, 13.9826, 3.1157)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7917 #741779
analogous
#4D7917 #1C7917 #177943
triadic
#1C7917 #171C79 #79171C
tetradic
#1C7917 #174D79 #741779 #794317
square
#1C7917 #174D79 #741779 #794317
split-complementary
#1C7917 #431779 #79174D
monochromatic
#061A05 #10460D #1C7917 #28AC21 #3BD832

Accessibility & contrast

On white

5.53
#1C7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1C7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7917
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7917#FFFFFF#000000##FFFFFF
##1C79171.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1c7917;
/* rgb */ color: rgb(28, 121, 23);
/* oklch */ color: oklch(50.4% 0.156 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#1c7917',
    950: '#000000',
  },
}
SCSS
$custom: #1c7917;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7917",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 116.939,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.15587,
    "h": 142.3
  },
  "luminance": 0.13983
}

Semantic roles & 50–950 ramp

primary
#1C7917
secondary
#A83EAE
accent
#3DEBE2
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1C7917

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

Preview Lab → · Contrast checker → · Palette generator →

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