#1C7517#1C7517

#1C7517 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.151 H 142.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1C7517
RGBrgb(28, 117, 23)
HSLhsl(117, 67%, 27%)
HSVhsv(117, 80%, 46%)
CMYKcmyk(76.1%, 0%, 80.3%, 54.1%)
CIE-LABlab(42.81, -43.96, 41.28)
CIE-LCHlch(42.81, 60.30, 136.80°)
OKLaboklab(49.26% -0.1196 0.0925)
OKLCHoklch(49.26% 0.151 142.3)
XYZxyz(6.9944, 13.0305, 2.9570)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7517 #701775
analogous
#4B7517 #1C7517 #177541
triadic
#1C7517 #171C75 #75171C
tetradic
#1C7517 #174B75 #701775 #754117
square
#1C7517 #174B75 #701775 #754117
split-complementary
#1C7517 #411775 #75174B
monochromatic
#061A05 #10420D #1C7517 #28A821 #39D630

Accessibility & contrast

On white

5.82
#1C7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1C7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7517
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7517#FFFFFF#000000##FFFFFF
##1C75171.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1c7517;
/* rgb */ color: rgb(28, 117, 23);
/* oklch */ color: oklch(49.3% 0.151 142.3);
Tailwind
colors: {
  custom: {
    50: '#689e5c',
    500: '#1c7517',
    950: '#000000',
  },
}
SCSS
$custom: #1c7517;
$custom-light: #689e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7517",
  "rgb": {
    "r": 28,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 116.809,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.15119,
    "h": 142.3
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#1C7517
secondary
#A53DAA
accent
#3EEAE1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7517

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

Preview Lab → · Contrast checker → · Palette generator →

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