#1C8F40#1C8F40

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

Color values

HEX#1C8F40
RGBrgb(28, 143, 64)
HSLhsl(139, 67%, 34%)
HSVhsv(139, 80%, 56%)
CMYKcmyk(80.4%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.13, -48.35, 33.12)
CIE-LCHlch(52.13, 58.60, 145.59°)
OKLaboklab(57.12% -0.1299 0.0795)
OKLCHoklch(57.12% 0.152 148.5)
XYZxyz(11.2259, 20.2606, 8.1685)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8F40 #8F1C6B
analogous
#318F1C #1C8F40 #1C8F79
triadic
#1C8F40 #401C8F #8F401C
tetradic
#1C8F40 #1C318F #8F1C6B #8F791C
square
#1C8F40 #1C318F #8F1C6B #8F791C
split-complementary
#1C8F40 #791C8F #8F1C31
monochromatic
#082912 #125C29 #1C8F40 #26C257 #4ADC77

Accessibility & contrast

On white

4.16
#1C8F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#1C8F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8F40
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8F40#FFFFFF#000000##000000
##1C8F401.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1c8f40;
/* rgb */ color: rgb(28, 143, 64);
/* oklch */ color: oklch(57.1% 0.152 148.5);
Tailwind
colors: {
  custom: {
    50: '#6db177',
    500: '#1c8f40',
    950: '#000000',
  },
}
SCSS
$custom: #1c8f40;
$custom-light: #6db177;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8f40",
  "rgb": {
    "r": 28,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 138.783,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.15227,
    "h": 148.5
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#1C8F40
secondary
#BE4999
accent
#3EB4EA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1C8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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