#1C7D42#1C7D42

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

Color values

HEX#1C7D42
RGBrgb(28, 125, 66)
HSLhsl(144, 63%, 30%)
HSVhsv(144, 78%, 49%)
CMYKcmyk(77.6%, 0%, 47.2%, 51%)
CIE-LABlab(46.05, -41.31, 24.48)
CIE-LCHlch(46.05, 48.02, 149.35°)
OKLaboklab(52.1% -0.1111 0.0601)
OKLCHoklch(52.1% 0.126 151.6)
XYZxyz(8.7951, 15.3064, 7.6441)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D42 #7D1C57
analogous
#277D1C #1C7D42 #1C7D72
triadic
#1C7D42 #421C7D #7D421C
tetradic
#1C7D42 #1C277D #7D1C57 #7D721C
square
#1C7D42 #1C277D #7D1C57 #7D721C
split-complementary
#1C7D42 #721C7D #7D1C27
monochromatic
#06190D #114B28 #1C7D42 #27AF5C #3FD47A

Accessibility & contrast

On white

5.17
#1C7D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C7D42
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D42#FFFFFF#000000##FFFFFF
##1C7D421.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723D
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7d42;
/* rgb */ color: rgb(28, 125, 66);
/* oklch */ color: oklch(52.1% 0.126 151.6);
Tailwind
colors: {
  custom: {
    50: '#68a477',
    500: '#1c7d42',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d42;
$custom-light: #68a477;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d42",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 143.505,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.12631,
    "h": 151.6
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#1C7D42
secondary
#B14486
accent
#41A6E6
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1C7D42

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

Preview Lab → · Contrast checker → · Palette generator →

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