#1C7A40#1C7A40

#1C7A40 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.124 H 151.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1C7A40
RGBrgb(28, 122, 64)
HSLhsl(143, 63%, 29%)
HSVhsv(143, 77%, 48%)
CMYKcmyk(77%, 0%, 47.5%, 52.2%)
CIE-LABlab(44.99, -40.50, 24.23)
CIE-LCHlch(44.99, 47.20, 149.11°)
OKLaboklab(51.21% -0.1089 0.0595)
OKLCHoklch(51.21% 0.124 151.4)
XYZxyz(8.3631, 14.5351, 7.2143)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A40 #7A1C56
analogous
#277A1C #1C7A40 #1C7A6F
triadic
#1C7A40 #401C7A #7A401C
tetradic
#1C7A40 #1C277A #7A1C56 #7A6F1C
square
#1C7A40 #1C277A #7A1C56 #7A6F1C
split-complementary
#1C7A40 #6F1C7A #7A1C27
monochromatic
#06190D #114826 #1C7A40 #27AC5A #3ED377

Accessibility & contrast

On white

5.37
#1C7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1C7A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A40
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A40#FFFFFF#000000##FFFFFF
##1C7A401.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7a40;
/* rgb */ color: rgb(28, 122, 64);
/* oklch */ color: oklch(51.2% 0.124 151.4);
Tailwind
colors: {
  custom: {
    50: '#68a176',
    500: '#1c7a40',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a40;
$custom-light: #68a176;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a40",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 142.979,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.12411,
    "h": 151.4
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#1C7A40
secondary
#AE4485
accent
#42A7E6
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1C7A40

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

Preview Lab → · Contrast checker → · Palette generator →

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