#1C8F27#1C8F27

#1C8F27 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.172 H 144.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1C8F27
RGBrgb(28, 143, 39)
HSLhsl(126, 67%, 34%)
HSVhsv(126, 80%, 56%)
CMYKcmyk(80.4%, 0%, 72.7%, 43.9%)
CIE-LABlab(51.88, -51.41, 44.36)
CIE-LCHlch(51.88, 67.90, 139.21°)
OKLaboklab(56.83% -0.139 0.1012)
OKLCHoklch(56.83% 0.172 144)
XYZxyz(10.6668, 20.0370, 5.2244)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8F27 #8F1C84
analogous
#4A8F1C #1C8F27 #1C8F60
triadic
#1C8F27 #271C8F #8F271C
tetradic
#1C8F27 #1C4A8F #8F1C84 #8F601C
square
#1C8F27 #1C4A8F #8F1C84 #8F601C
split-complementary
#1C8F27 #601C8F #8F1C4A
monochromatic
#08290B #125C19 #1C8F27 #26C235 #4ADC58

Accessibility & contrast

On white

4.19
#1C8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1C8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8F27
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8F27#FFFFFF#000000##000000
##1C8F271.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1c8f27;
/* rgb */ color: rgb(28, 143, 39);
/* oklch */ color: oklch(56.8% 0.172 144.0);
Tailwind
colors: {
  custom: {
    50: '#6eb167',
    500: '#1c8f27',
    950: '#000000',
  },
}
SCSS
$custom: #1c8f27;
$custom-light: #6eb167;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8f27",
  "rgb": {
    "r": 28,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 125.739,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.17192,
    "h": 144
  },
  "luminance": 0.20038
}

Semantic roles & 50–950 ramp

primary
#1C8F27
secondary
#BE49B2
accent
#3EDAEA
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1C8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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