#1C8C40#1C8C40

#1C8C40 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.148 H 148.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1C8C40
RGBrgb(28, 140, 64)
HSLhsl(139, 67%, 33%)
HSVhsv(139, 80%, 55%)
CMYKcmyk(80%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.12, -47.27, 31.89)
CIE-LCHlch(51.12, 57.02, 146.00°)
OKLaboklab(56.28% -0.127 0.0768)
OKLCHoklch(56.28% 0.148 148.8)
XYZxyz(10.7815, 19.3719, 8.0204)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8C40 #8C1C68
analogous
#308C1C #1C8C40 #1C8C78
triadic
#1C8C40 #401C8C #8C401C
tetradic
#1C8C40 #1C308C #8C1C68 #8C781C
square
#1C8C40 #1C308C #8C1C68 #8C781C
split-complementary
#1C8C40 #781C8C #8C1C30
monochromatic
#082611 #125929 #1C8C40 #26BF57 #48DA77

Accessibility & contrast

On white

4.31
#1C8C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1C8C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8C40
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8C40#FFFFFF#000000##000000
##1C8C401.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#817646
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1c8c40;
/* rgb */ color: rgb(28, 140, 64);
/* oklch */ color: oklch(56.3% 0.148 148.8);
Tailwind
colors: {
  custom: {
    50: '#6caf77',
    500: '#1c8c40',
    950: '#000000',
  },
}
SCSS
$custom: #1c8c40;
$custom-light: #6caf77;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8c40",
  "rgb": {
    "r": 28,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 139.286,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.14838,
    "h": 148.8
  },
  "luminance": 0.19373
}

Semantic roles & 50–950 ramp

primary
#1C8C40
secondary
#BC4897
accent
#3EB2EA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1C8C40

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

Preview Lab → · Contrast checker → · Palette generator →

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