#1C7E40#1C7E40

#1C7E40 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.130 H 150.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1C7E40
RGBrgb(28, 126, 64)
HSLhsl(142, 64%, 30%)
HSVhsv(142, 78%, 49%)
CMYKcmyk(77.8%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.36, -42.06, 25.97)
CIE-LCHlch(46.36, 49.43, 148.30°)
OKLaboklab(52.34% -0.1131 0.0635)
OKLCHoklch(52.34% 0.13 150.7)
XYZxyz(8.8644, 15.5377, 7.3814)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E40 #7E1C5A
analogous
#297E1C #1C7E40 #1C7E71
triadic
#1C7E40 #401C7E #7E401C
tetradic
#1C7E40 #1C297E #7E1C5A #7E711C
square
#1C7E40 #1C297E #7E1C5A #7E711C
split-complementary
#1C7E40 #711C7E #7E1C29
monochromatic
#061A0D #114C27 #1C7E40 #27B059 #40D576

Accessibility & contrast

On white

5.11
#1C7E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1C7E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E40
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E40#FFFFFF#000000##FFFFFF
##1C7E401.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#736B44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c7e40;
/* rgb */ color: rgb(28, 126, 64);
/* oklch */ color: oklch(52.3% 0.130 150.7);
Tailwind
colors: {
  custom: {
    50: '#69a476',
    500: '#1c7e40',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e40;
$custom-light: #69a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e40",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 142.041,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.12965,
    "h": 150.7
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#1C7E40
secondary
#B24489
accent
#41AAE7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1C7E40

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

Preview Lab → · Contrast checker → · Palette generator →

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