#1C7B17#1C7B17

#1C7B17 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.158 H 142.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1C7B17
RGBrgb(28, 123, 23)
HSLhsl(117, 68%, 29%)
HSVhsv(117, 81%, 48%)
CMYKcmyk(77.2%, 0%, 81.3%, 51.8%)
CIE-LABlab(44.90, -46.02, 43.30)
CIE-LCHlch(44.90, 63.19, 136.74°)
OKLaboklab(51% -0.1252 0.0967)
OKLCHoklch(51% 0.158 142.3)
XYZxyz(7.7160, 14.4738, 3.1975)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B17 #76177B
analogous
#4E7B17 #1C7B17 #177B44
triadic
#1C7B17 #171C7B #7B171C
tetradic
#1C7B17 #174E7B #76177B #7B4417
square
#1C7B17 #174E7B #76177B #7B4417
split-complementary
#1C7B17 #44177B #7B174E
monochromatic
#061A05 #10470D #1C7B17 #28AF21 #3CD933

Accessibility & contrast

On white

5.39
#1C7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1C7B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7B17
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7B17#FFFFFF#000000##FFFFFF
##1C7B171.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7b17;
/* rgb */ color: rgb(28, 123, 23);
/* oklch */ color: oklch(51.0% 0.158 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa25d',
    500: '#1c7b17',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b17;
$custom-light: #6aa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b17",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 117,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.15819,
    "h": 142.3
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#1C7B17
secondary
#AA3EB0
accent
#3CEBE3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1C7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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