#1C8B18#1C8B18

#1C8B18 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.176 H 142.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1C8B18
RGBrgb(28, 139, 24)
HSLhsl(118, 71%, 32%)
HSVhsv(118, 83%, 55%)
CMYKcmyk(79.9%, 0%, 82.7%, 45.5%)
CIE-LABlab(50.43, -51.25, 48.22)
CIE-LCHlch(50.43, 70.37, 136.75°)
OKLaboklab(55.59% -0.1393 0.1071)
OKLCHoklch(55.59% 0.176 142.4)
XYZxyz(9.8758, 18.7769, 3.9678)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8B18 #87188B
analogous
#568B18 #1C8B18 #188B4E
triadic
#1C8B18 #181C8B #8B181C
tetradic
#1C8B18 #18568B #87188B #8B4E18
square
#1C8B18 #18568B #87188B #8B4E18
split-complementary
#1C8B18 #4E188B #8B1856
monochromatic
#072306 #11570F #1C8B18 #27BF21 #45DE3F

Accessibility & contrast

On white

4.42
#1C8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1C8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8B18
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8B18#FFFFFF#000000##000000
##1C8B181.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1c8b18;
/* rgb */ color: rgb(28, 139, 24);
/* oklch */ color: oklch(55.6% 0.176 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eae60',
    500: '#1c8b18',
    950: '#000000',
  },
}
SCSS
$custom: #1c8b18;
$custom-light: #6eae60;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8b18",
  "rgb": {
    "r": 28,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 117.913,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.17572,
    "h": 142.4
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#1C8B18
secondary
#BA40BE
accent
#3AEDE7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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