#1C7C42#1C7C42

#1C7C42 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.125 H 151.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1C7C42
RGBrgb(28, 124, 66)
HSLhsl(144, 63%, 30%)
HSVhsv(144, 77%, 49%)
CMYKcmyk(77.4%, 0%, 46.8%, 51.4%)
CIE-LABlab(45.71, -40.92, 24.04)
CIE-LCHlch(45.71, 47.46, 149.56°)
OKLaboklab(51.81% -0.1101 0.0591)
OKLCHoklch(51.81% 0.125 151.8)
XYZxyz(8.6692, 15.0545, 7.6021)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7C42 #7C1C56
analogous
#267C1C #1C7C42 #1C7C72
triadic
#1C7C42 #421C7C #7C421C
tetradic
#1C7C42 #1C267C #7C1C56 #7C721C
square
#1C7C42 #1C267C #7C1C56 #7C721C
split-complementary
#1C7C42 #721C7C #7C1C26
monochromatic
#06190D #114A27 #1C7C42 #27AE5D #3FD47A

Accessibility & contrast

On white

5.24
#1C7C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1C7C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7C42
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7C42#FFFFFF#000000##FFFFFF
##1C7C421.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713E
Deuteranopia (green-blind)
#716946
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7c42;
/* rgb */ color: rgb(28, 124, 66);
/* oklch */ color: oklch(51.8% 0.125 151.8);
Tailwind
colors: {
  custom: {
    50: '#68a377',
    500: '#1c7c42',
    950: '#000000',
  },
}
SCSS
$custom: #1c7c42;
$custom-light: #68a377;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7c42",
  "rgb": {
    "r": 28,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 143.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.12492,
    "h": 151.8
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#1C7C42
secondary
#B04485
accent
#42A5E6
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1C7C42

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

Preview Lab → · Contrast checker → · Palette generator →

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