#1C8418#1C8418

#1C8418 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.168 H 142.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1C8418
RGBrgb(28, 132, 24)
HSLhsl(118, 69%, 31%)
HSVhsv(118, 82%, 52%)
CMYKcmyk(78.8%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.03, -48.97, 45.96)
CIE-LCHlch(48.03, 67.16, 136.82°)
OKLaboklab(53.59% -0.1331 0.1024)
OKLCHoklch(53.59% 0.168 142.4)
XYZxyz(8.8945, 16.8143, 3.6407)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8418 #801884
analogous
#528418 #1C8418 #18844A
triadic
#1C8418 #181C84 #84181C
tetradic
#1C8418 #185284 #801884 #844A18
square
#1C8418 #185284 #801884 #844A18
split-complementary
#1C8418 #4A1884 #841852
monochromatic
#061C05 #11500F #1C8418 #27B821 #41DB3B

Accessibility & contrast

On white

4.81
#1C8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1C8418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8418
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8418#FFFFFF#000000##FFFFFF
##1C84181.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c8418;
/* rgb */ color: rgb(28, 132, 24);
/* oklch */ color: oklch(53.6% 0.168 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca95f',
    500: '#1c8418',
    950: '#000000',
  },
}
SCSS
$custom: #1c8418;
$custom-light: #6ca95f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8418",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 117.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.16794,
    "h": 142.4
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#1C8418
secondary
#B340B8
accent
#3CECE6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C8418

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

Preview Lab → · Contrast checker → · Palette generator →

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