#1C8118#1C8118

#1C8118 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.165 H 142.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1C8118
RGBrgb(28, 129, 24)
HSLhsl(118, 69%, 30%)
HSVhsv(118, 81%, 51%)
CMYKcmyk(78.3%, 0%, 81.4%, 49.4%)
CIE-LABlab(46.99, -47.97, 44.97)
CIE-LCHlch(46.99, 65.76, 136.85°)
OKLaboklab(52.73% -0.1304 0.1004)
OKLCHoklch(52.73% 0.165 142.4)
XYZxyz(8.4935, 16.0124, 3.5070)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8118 #7D1881
analogous
#518118 #1C8118 #188148
triadic
#1C8118 #181C81 #81181C
tetradic
#1C8118 #185181 #7D1881 #814818
square
#1C8118 #185181 #7D1881 #814818
split-complementary
#1C8118 #481881 #811851
monochromatic
#061A05 #114D0E #1C8118 #27B522 #3FDA39

Accessibility & contrast

On white

5.00
#1C8118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#1C8118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8118
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8118#FFFFFF#000000##FFFFFF
##1C81181.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1c8118;
/* rgb */ color: rgb(28, 129, 24);
/* oklch */ color: oklch(52.7% 0.165 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba75e',
    500: '#1c8118',
    950: '#000000',
  },
}
SCSS
$custom: #1c8118;
$custom-light: #6ba75e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8118",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 117.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.16455,
    "h": 142.4
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#1C8118
secondary
#B140B5
accent
#3CEBE5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1C8118

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

Preview Lab → · Contrast checker → · Palette generator →

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