#1C7D40#1C7D40

#1C7D40 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.128 H 150.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1C7D40
RGBrgb(28, 125, 64)
HSLhsl(142, 63%, 30%)
HSVhsv(142, 78%, 49%)
CMYKcmyk(77.6%, 0%, 48.8%, 51%)
CIE-LABlab(46.02, -41.67, 25.54)
CIE-LCHlch(46.02, 48.87, 148.50°)
OKLaboklab(52.06% -0.112 0.0625)
OKLCHoklch(52.06% 0.128 150.9)
XYZxyz(8.7372, 15.2832, 7.3390)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D40 #7D1C59
analogous
#287D1C #1C7D40 #1C7D71
triadic
#1C7D40 #401C7D #7D401C
tetradic
#1C7D40 #1C287D #7D1C59 #7D711C
square
#1C7D40 #1C287D #7D1C59 #7D711C
split-complementary
#1C7D40 #711C7D #7D1C28
monochromatic
#06190D #114B26 #1C7D40 #27AF5A #3FD477

Accessibility & contrast

On white

5.18
#1C7D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1C7D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D40
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D40#FFFFFF#000000##FFFFFF
##1C7D401.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7d40;
/* rgb */ color: rgb(28, 125, 64);
/* oklch */ color: oklch(52.1% 0.128 150.9);
Tailwind
colors: {
  custom: {
    50: '#69a476',
    500: '#1c7d40',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d40;
$custom-light: #69a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d40",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 142.268,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.12827,
    "h": 150.9
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#1C7D40
secondary
#B14488
accent
#41A9E6
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1C7D40

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

Preview Lab → · Contrast checker → · Palette generator →

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