#1C7C19#1C7C19

#1C7C19 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.158 H 142.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1C7C19
RGBrgb(28, 124, 25)
HSLhsl(118, 66%, 29%)
HSVhsv(118, 80%, 49%)
CMYKcmyk(77.4%, 0%, 79.8%, 51.4%)
CIE-LABlab(45.26, -46.22, 42.97)
CIE-LCHlch(45.26, 63.11, 137.09°)
OKLaboklab(51.3% -0.1256 0.0963)
OKLCHoklch(51.3% 0.158 142.5)
XYZxyz(7.8615, 14.7315, 3.3487)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7C19 #79197C
analogous
#4E7C19 #1C7C19 #197C48
triadic
#1C7C19 #191C7C #7C191C
tetradic
#1C7C19 #194E7C #79197C #7C4819
square
#1C7C19 #194E7C #79197C #7C4819
split-complementary
#1C7C19 #48197C #7C194E
monochromatic
#061905 #10490F #1C7C19 #28AF23 #3DD738

Accessibility & contrast

On white

5.32
#1C7C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1C7C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7C19
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7C19#FFFFFF#000000##FFFFFF
##1C7C191.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c7c19;
/* rgb */ color: rgb(28, 124, 25);
/* oklch */ color: oklch(51.3% 0.158 142.5);
Tailwind
colors: {
  custom: {
    50: '#6aa35e',
    500: '#1c7c19',
    950: '#000000',
  },
}
SCSS
$custom: #1c7c19;
$custom-light: #6aa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7c19",
  "rgb": {
    "r": 28,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 118.182,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.15829,
    "h": 142.5
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#1C7C19
secondary
#AD40B0
accent
#3EE9E4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1C7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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