#1C7A17#1C7A17

#1C7A17 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.157 H 142.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1C7A17
RGBrgb(28, 122, 23)
HSLhsl(117, 68%, 28%)
HSVhsv(117, 81%, 48%)
CMYKcmyk(77%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.56, -45.68, 42.97)
CIE-LCHlch(44.56, 62.72, 136.75°)
OKLaboklab(50.71% -0.1242 0.096)
OKLCHoklch(50.71% 0.157 142.3)
XYZxyz(7.5926, 14.2269, 3.1564)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A17 #75177A
analogous
#4D7A17 #1C7A17 #177A43
triadic
#1C7A17 #171C7A #7A171C
tetradic
#1C7A17 #174D7A #75177A #7A4317
square
#1C7A17 #174D7A #75177A #7A4317
split-complementary
#1C7A17 #43177A #7A174D
monochromatic
#061A05 #10470D #1C7A17 #28AD21 #3BD933

Accessibility & contrast

On white

5.46
#1C7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1C7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A17
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A17#FFFFFF#000000##FFFFFF
##1C7A171.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c7a17;
/* rgb */ color: rgb(28, 122, 23);
/* oklch */ color: oklch(50.7% 0.157 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa15d',
    500: '#1c7a17',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a17;
$custom-light: #6aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a17",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 116.97,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.15703,
    "h": 142.3
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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