#1C7828#1C7828

#1C7828 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.143 H 144.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1C7828
RGBrgb(28, 120, 40)
HSLhsl(128, 62%, 29%)
HSVhsv(128, 77%, 47%)
CMYKcmyk(76.7%, 0%, 66.7%, 52.9%)
CIE-LABlab(43.99, -43.39, 35.44)
CIE-LCHlch(43.99, 56.02, 140.75°)
OKLaboklab(50.28% -0.1172 0.0825)
OKLCHoklch(50.28% 0.143 144.9)
XYZxyz(7.5778, 13.8322, 4.2776)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7828 #781C6C
analogous
#3E781C #1C7828 #1C7856
triadic
#1C7828 #281C78 #78281C
tetradic
#1C7828 #1C3E78 #781C6C #78561C
square
#1C7828 #1C3E78 #781C6C #78561C
split-complementary
#1C7828 #561C78 #781C3E
monochromatic
#061908 #104617 #1C7828 #28AA39 #3DD250

Accessibility & contrast

On white

5.58
#1C7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#1C7828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7828
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7828#FFFFFF#000000##FFFFFF
##1C78281.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1E
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1c7828;
/* rgb */ color: rgb(28, 120, 40);
/* oklch */ color: oklch(50.3% 0.143 144.9);
Tailwind
colors: {
  custom: {
    50: '#68a066',
    500: '#1c7828',
    950: '#000000',
  },
}
SCSS
$custom: #1c7828;
$custom-light: #68a066;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7828",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 127.826,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50282,
    "c": 0.14331,
    "h": 144.9
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#1C7828
secondary
#AC449E
accent
#43D0E5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1C7828

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

Preview Lab → · Contrast checker → · Palette generator →

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