#1C7D17#1C7D17

#1C7D17 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.160 H 142.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1C7D17
RGBrgb(28, 125, 23)
HSLhsl(117, 69%, 29%)
HSVhsv(117, 82%, 49%)
CMYKcmyk(77.6%, 0%, 81.6%, 51%)
CIE-LABlab(45.60, -46.70, 43.97)
CIE-LCHlch(45.60, 64.14, 136.72°)
OKLaboklab(51.58% -0.127 0.0981)
OKLCHoklch(51.58% 0.16 142.3)
XYZxyz(7.9667, 14.9751, 3.2811)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D17 #78177D
analogous
#4F7D17 #1C7D17 #177D45
triadic
#1C7D17 #171C7D #7D171C
tetradic
#1C7D17 #174F7D #78177D #7D4517
square
#1C7D17 #174F7D #78177D #7D4517
split-complementary
#1C7D17 #45177D #7D174F
monochromatic
#061A05 #10490D #1C7D17 #28B121 #3DDA35

Accessibility & contrast

On white

5.26
#1C7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1C7D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D17
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D17#FFFFFF#000000##FFFFFF
##1C7D171.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d17;
/* rgb */ color: rgb(28, 125, 23);
/* oklch */ color: oklch(51.6% 0.160 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa45d',
    500: '#1c7d17',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d17;
$custom-light: #6aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d17",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 117.059,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.16049,
    "h": 142.3
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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