#1C8F28#1C8F28

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

Color values

HEX#1C8F28
RGBrgb(28, 143, 40)
HSLhsl(126, 67%, 34%)
HSVhsv(126, 80%, 56%)
CMYKcmyk(80.4%, 0%, 72%, 43.9%)
CIE-LABlab(51.89, -51.31, 43.96)
CIE-LCHlch(51.89, 67.57, 139.41°)
OKLaboklab(56.84% -0.1387 0.1005)
OKLCHoklch(56.84% 0.171 144.1)
XYZxyz(10.6836, 20.0437, 5.3128)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8F28 #8F1C83
analogous
#498F1C #1C8F28 #1C8F61
triadic
#1C8F28 #281C8F #8F281C
tetradic
#1C8F28 #1C498F #8F1C83 #8F611C
square
#1C8F28 #1C498F #8F1C83 #8F611C
split-complementary
#1C8F28 #611C8F #8F1C49
monochromatic
#08290B #125C1A #1C8F28 #26C236 #4ADC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C8F28#FFFFFF#000000##000000
##1C8F281.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)
#928118
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1c8f28;
/* rgb */ color: rgb(28, 143, 40);
/* oklch */ color: oklch(56.8% 0.171 144.1);
Tailwind
colors: {
  custom: {
    50: '#6eb168',
    500: '#1c8f28',
    950: '#000000',
  },
}
SCSS
$custom: #1c8f28;
$custom-light: #6eb168;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8f28",
  "rgb": {
    "r": 28,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 126.261,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.17127,
    "h": 144.1
  },
  "luminance": 0.20045
}

Semantic roles & 50–950 ramp

primary
#1C8F28
secondary
#BE49B1
accent
#3ED8EA
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1C8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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