#1C7817#1C7817

#1C7817 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.155 H 142.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1C7817
RGBrgb(28, 120, 23)
HSLhsl(117, 68%, 28%)
HSVhsv(117, 81%, 47%)
CMYKcmyk(76.7%, 0%, 80.8%, 52.9%)
CIE-LABlab(43.86, -45.00, 42.30)
CIE-LCHlch(43.86, 61.76, 136.77°)
OKLaboklab(50.13% -0.1224 0.0946)
OKLCHoklch(50.13% 0.155 142.3)
XYZxyz(7.3496, 13.7408, 3.0754)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7817 #731778
analogous
#4C7817 #1C7817 #177842
triadic
#1C7817 #171C78 #78171C
tetradic
#1C7817 #174C78 #731778 #784217
square
#1C7817 #174C78 #731778 #784217
split-complementary
#1C7817 #421778 #78174C
monochromatic
#061A05 #10450D #1C7817 #28AB21 #3AD832

Accessibility & contrast

On white

5.60
#1C7817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#1C7817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7817
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7817#FFFFFF#000000##FFFFFF
##1C78171.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1c7817;
/* rgb */ color: rgb(28, 120, 23);
/* oklch */ color: oklch(50.1% 0.155 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a05c',
    500: '#1c7817',
    950: '#000000',
  },
}
SCSS
$custom: #1c7817;
$custom-light: #69a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7817",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 116.907,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.15471,
    "h": 142.3
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#1C7817
secondary
#A73EAD
accent
#3DEBE2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1C7817

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

Preview Lab → · Contrast checker → · Palette generator →

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