#1C8C28#1C8C28

#1C8C28 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.168 H 144.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1C8C28
RGBrgb(28, 140, 40)
HSLhsl(126, 67%, 33%)
HSVhsv(126, 80%, 55%)
CMYKcmyk(80%, 0%, 71.4%, 45.1%)
CIE-LABlab(50.87, -50.31, 42.89)
CIE-LCHlch(50.87, 66.11, 139.55°)
OKLaboklab(55.99% -0.136 0.0982)
OKLCHoklch(55.99% 0.168 144.2)
XYZxyz(10.2393, 19.1550, 5.1647)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8C28 #8C1C80
analogous
#488C1C #1C8C28 #1C8C60
triadic
#1C8C28 #281C8C #8C281C
tetradic
#1C8C28 #1C488C #8C1C80 #8C601C
square
#1C8C28 #1C488C #8C1C80 #8C601C
split-complementary
#1C8C28 #601C8C #8C1C48
monochromatic
#08260B #125919 #1C8C28 #26BF37 #48DA58

Accessibility & contrast

On white

4.35
#1C8C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#1C8C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8C28
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8C28#FFFFFF#000000##000000
##1C8C281.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1c8c28;
/* rgb */ color: rgb(28, 140, 40);
/* oklch */ color: oklch(56.0% 0.168 144.2);
Tailwind
colors: {
  custom: {
    50: '#6daf68',
    500: '#1c8c28',
    950: '#000000',
  },
}
SCSS
$custom: #1c8c28;
$custom-light: #6daf68;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8c28",
  "rgb": {
    "r": 28,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 126.429,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.16776,
    "h": 144.2
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#1C8C28
secondary
#BC48B0
accent
#3ED7EA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C8C28

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

Preview Lab → · Contrast checker → · Palette generator →

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