#1C8D18#1C8D18

#1C8D18 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.178 H 142.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1C8D18
RGBrgb(28, 141, 24)
HSLhsl(118, 71%, 32%)
HSVhsv(118, 83%, 55%)
CMYKcmyk(80.1%, 0%, 83%, 44.7%)
CIE-LABlab(51.11, -51.90, 48.86)
CIE-LCHlch(51.11, 71.28, 136.73°)
OKLaboklab(56.16% -0.141 0.1085)
OKLCHoklch(56.16% 0.178 142.4)
XYZxyz(10.1680, 19.3614, 4.0652)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8D18 #89188D
analogous
#568D18 #1C8D18 #188D4F
triadic
#1C8D18 #181C8D #8D181C
tetradic
#1C8D18 #18568D #89188D #8D4F18
square
#1C8D18 #18568D #89188D #8D4F18
split-complementary
#1C8D18 #4F188D #8D1856
monochromatic
#072406 #12590F #1C8D18 #26C121 #46DF41

Accessibility & contrast

On white

4.31
#1C8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1C8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8D18
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8D18#FFFFFF#000000##000000
##1C8D181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1c8d18;
/* rgb */ color: rgb(28, 141, 24);
/* oklch */ color: oklch(56.2% 0.178 142.4);
Tailwind
colors: {
  custom: {
    50: '#6faf60',
    500: '#1c8d18',
    950: '#000000',
  },
}
SCSS
$custom: #1c8d18;
$custom-light: #6faf60;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8d18",
  "rgb": {
    "r": 28,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 117.949,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.17792,
    "h": 142.4
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#1C8D18
secondary
#BB42BF
accent
#3AEEE8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1C8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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