#1C8D42#1C8D42

#1C8D42 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.148 H 149.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1C8D42
RGBrgb(28, 141, 66)
HSLhsl(140, 67%, 33%)
HSVhsv(140, 80%, 55%)
CMYKcmyk(80.1%, 0%, 53.2%, 44.7%)
CIE-LABlab(51.48, -47.32, 31.30)
CIE-LCHlch(51.48, 56.73, 146.52°)
OKLaboklab(56.59% -0.1271 0.0756)
OKLCHoklch(56.59% 0.148 149.3)
XYZxyz(10.9862, 19.6887, 8.3745)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8D42 #8D1C67
analogous
#2E8D1C #1C8D42 #1C8D7A
triadic
#1C8D42 #421C8D #8D421C
tetradic
#1C8D42 #1C2E8D #8D1C67 #8D7A1C
square
#1C8D42 #1C2E8D #8D1C67 #8D7A1C
split-complementary
#1C8D42 #7A1C8D #8D1C2E
monochromatic
#082712 #125A2A #1C8D42 #26C05A #49DB7A

Accessibility & contrast

On white

4.25
#1C8D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#1C8D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8D42
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8D42#FFFFFF#000000##000000
##1C8D421.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803B
Deuteranopia (green-blind)
#817748
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1c8d42;
/* rgb */ color: rgb(28, 141, 66);
/* oklch */ color: oklch(56.6% 0.148 149.3);
Tailwind
colors: {
  custom: {
    50: '#6daf78',
    500: '#1c8d42',
    950: '#000000',
  },
}
SCSS
$custom: #1c8d42;
$custom-light: #6daf78;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8d42",
  "rgb": {
    "r": 28,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 140.177,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.14786,
    "h": 149.3
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#1C8D42
secondary
#BD4895
accent
#3EB0EA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1C8D42

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

Preview Lab → · Contrast checker → · Palette generator →

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