#1C8018#1C8018

#1C8018 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.4% C 0.163 H 142.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1C8018
RGBrgb(28, 128, 24)
HSLhsl(118, 68%, 30%)
HSVhsv(118, 81%, 50%)
CMYKcmyk(78.1%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.65, -47.64, 44.64)
CIE-LCHlch(46.65, 65.29, 136.86°)
OKLaboklab(52.45% -0.1295 0.0997)
OKLCHoklch(52.45% 0.163 142.4)
XYZxyz(8.3624, 15.7502, 3.4633)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8018 #7C1880
analogous
#508018 #1C8018 #188048
triadic
#1C8018 #181C80 #80181C
tetradic
#1C8018 #185080 #7C1880 #804818
square
#1C8018 #185080 #7C1880 #804818
split-complementary
#1C8018 #481880 #801850
monochromatic
#061A05 #114C0E #1C8018 #27B422 #3FDA39

Accessibility & contrast

On white

5.06
#1C8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1C8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8018
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8018#FFFFFF#000000##FFFFFF
##1C80181.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1c8018;
/* rgb */ color: rgb(28, 128, 24);
/* oklch */ color: oklch(52.4% 0.163 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba65e',
    500: '#1c8018',
    950: '#000000',
  },
}
SCSS
$custom: #1c8018;
$custom-light: #6ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8018",
  "rgb": {
    "r": 28,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 117.692,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.16341,
    "h": 142.4
  },
  "luminance": 0.15751
}

Semantic roles & 50–950 ramp

primary
#1C8018
secondary
#B040B4
accent
#3DEBE5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1C8018

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

Preview Lab → · Contrast checker → · Palette generator →

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