#1C8F42#1C8F42

#1C8F42 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.150 H 149.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1C8F42
RGBrgb(28, 143, 66)
HSLhsl(140, 67%, 34%)
HSVhsv(140, 80%, 56%)
CMYKcmyk(80.4%, 0%, 53.8%, 43.9%)
CIE-LABlab(52.16, -48.04, 32.12)
CIE-LCHlch(52.16, 57.79, 146.23°)
OKLaboklab(57.15% -0.129 0.0774)
OKLCHoklch(57.15% 0.15 149)
XYZxyz(11.2838, 20.2838, 8.4737)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8F42 #8F1C69
analogous
#2F8F1C #1C8F42 #1C8F7B
triadic
#1C8F42 #421C8F #8F421C
tetradic
#1C8F42 #1C2F8F #8F1C69 #8F7B1C
square
#1C8F42 #1C2F8F #8F1C69 #8F7B1C
split-complementary
#1C8F42 #7B1C8F #8F1C2F
monochromatic
#082913 #125C2A #1C8F42 #26C25A #4ADC7A

Accessibility & contrast

On white

4.15
#1C8F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1C8F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8F42
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8F42#FFFFFF#000000##000000
##1C8F421.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823B
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1c8f42;
/* rgb */ color: rgb(28, 143, 66);
/* oklch */ color: oklch(57.1% 0.150 149.0);
Tailwind
colors: {
  custom: {
    50: '#6db178',
    500: '#1c8f42',
    950: '#000000',
  },
}
SCSS
$custom: #1c8f42;
$custom-light: #6db178;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8f42",
  "rgb": {
    "r": 28,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 139.826,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.15046,
    "h": 149
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#1C8F42
secondary
#BE4997
accent
#3EB1EA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1C8F42

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

Preview Lab → · Contrast checker → · Palette generator →

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