#1C6818#1C6818

#1C6818 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.135 H 142.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#1C6818
RGBrgb(28, 104, 24)
HSLhsl(117, 63%, 25%)
HSVhsv(117, 77%, 41%)
CMYKcmyk(73.1%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.22, -39.23, 36.34)
CIE-LCHlch(38.22, 53.47, 137.19°)
OKLaboklab(45.45% -0.1067 0.0823)
OKLCHoklch(45.45% 0.135 142.3)
XYZxyz(5.5938, 10.2129, 2.5405)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C6818 #641868
analogous
#446818 #1C6818 #18683C
triadic
#1C6818 #181C68 #68181C
tetradic
#1C6818 #184468 #641868 #683C18
square
#1C6818 #184468 #641868 #683C18
split-complementary
#1C6818 #3C1868 #681844
monochromatic
#071906 #0F360D #1C6818 #299A23 #37CB2F

Accessibility & contrast

On white

6.90
#1C6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1C6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C6818
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C6818#FFFFFF#000000##FFFFFF
##1C68181.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#086558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1c6818;
/* rgb */ color: rgb(28, 104, 24);
/* oklch */ color: oklch(45.5% 0.135 142.3);
Tailwind
colors: {
  custom: {
    50: '#65945b',
    500: '#1c6818',
    950: '#000000',
  },
}
SCSS
$custom: #1c6818;
$custom-light: #65945b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c6818",
  "rgb": {
    "r": 28,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 117,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.13479,
    "h": 142.3
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#1C6818
secondary
#993E9E
accent
#42E6DD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1C6818

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

Preview Lab → · Contrast checker → · Palette generator →

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