#1C8728#1C8728

#1C8728 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.162 H 144.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1C8728
RGBrgb(28, 135, 40)
HSLhsl(127, 66%, 32%)
HSVhsv(127, 79%, 53%)
CMYKcmyk(79.3%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.16, -48.63, 41.08)
CIE-LCHlch(49.16, 63.66, 139.81°)
OKLaboklab(54.58% -0.1314 0.0944)
OKLCHoklch(54.58% 0.162 144.3)
XYZxyz(9.5252, 17.7269, 4.9267)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8728 #871C7B
analogous
#46871C #1C8728 #1C875E
triadic
#1C8728 #281C87 #87281C
tetradic
#1C8728 #1C4687 #871C7B #875E1C
square
#1C8728 #1C4687 #871C7B #875E1C
split-complementary
#1C8728 #5E1C87 #871C46
monochromatic
#07220A #115419 #1C8728 #27BA37 #45D856

Accessibility & contrast

On white

4.62
#1C8728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#1C8728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8728
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8728#FFFFFF#000000##FFFFFF
##1C87281.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1c8728;
/* rgb */ color: rgb(28, 135, 40);
/* oklch */ color: oklch(54.6% 0.162 144.3);
Tailwind
colors: {
  custom: {
    50: '#6cab67',
    500: '#1c8728',
    950: '#000000',
  },
}
SCSS
$custom: #1c8728;
$custom-light: #6cab67;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8728",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 126.729,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.16182,
    "h": 144.3
  },
  "luminance": 0.17728
}

Semantic roles & 50–950 ramp

primary
#1C8728
secondary
#BA45AD
accent
#3FD6E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C8728

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

Preview Lab → · Contrast checker → · Palette generator →

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