#1C7717#1C7717

#1C7717 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.154 H 142.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1C7717
RGBrgb(28, 119, 23)
HSLhsl(117, 68%, 28%)
HSVhsv(117, 81%, 47%)
CMYKcmyk(76.5%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.51, -44.65, 41.96)
CIE-LCHlch(43.51, 61.27, 136.78°)
OKLaboklab(49.84% -0.1215 0.0939)
OKLCHoklch(49.84% 0.154 142.3)
XYZxyz(7.2299, 13.5016, 3.0355)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7717 #721777
analogous
#4C7717 #1C7717 #177742
triadic
#1C7717 #171C77 #77171C
tetradic
#1C7717 #174C77 #721777 #774217
square
#1C7717 #174C77 #721777 #774217
split-complementary
#1C7717 #421777 #77174C
monochromatic
#061A05 #10440D #1C7717 #28AA21 #3AD731

Accessibility & contrast

On white

5.68
#1C7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1C7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7717
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7717#FFFFFF#000000##FFFFFF
##1C77171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1c7717;
/* rgb */ color: rgb(28, 119, 23);
/* oklch */ color: oklch(49.8% 0.154 142.3);
Tailwind
colors: {
  custom: {
    50: '#699f5c',
    500: '#1c7717',
    950: '#000000',
  },
}
SCSS
$custom: #1c7717;
$custom-light: #699f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7717",
  "rgb": {
    "r": 28,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 116.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.15354,
    "h": 142.3
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#1C7717
secondary
#A63EAC
accent
#3DEAE1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1C7717

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

Preview Lab → · Contrast checker → · Palette generator →

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