#1C6812#1C6812

#1C6812 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.138 H 141.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#1C6812
RGBrgb(28, 104, 18)
HSLhsl(113, 70%, 24%)
HSVhsv(113, 83%, 41%)
CMYKcmyk(73.1%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.18, -39.70, 38.56)
CIE-LCHlch(38.18, 55.34, 135.84°)
OKLaboklab(45.41% -0.1083 0.0861)
OKLCHoklch(45.41% 0.138 141.5)
XYZxyz(5.5381, 10.1906, 2.2473)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C6812 #5E1268
analogous
#476812 #1C6812 #126833
triadic
#1C6812 #121C68 #68121C
tetradic
#1C6812 #124768 #5E1268 #683312
square
#1C6812 #124768 #5E1268 #683312
split-complementary
#1C6812 #331268 #681247
monochromatic
#071A05 #0E3409 #1C6812 #2A9C1B #38D024

Accessibility & contrast

On white

6.91
#1C6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C6812
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C6812#FFFFFF#000000##FFFFFF
##1C68121.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#096558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1c6812;
/* rgb */ color: rgb(28, 104, 18);
/* oklch */ color: oklch(45.4% 0.138 141.5);
Tailwind
colors: {
  custom: {
    50: '#659458',
    500: '#1c6812',
    950: '#000000',
  },
}
SCSS
$custom: #1c6812;
$custom-light: #659458;
$custom-dark: #000000;
JSON
{
  "hex": "#1c6812",
  "rgb": {
    "r": 28,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 113.023,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.13837,
    "h": 141.5
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#1C6812
secondary
#9336A0
accent
#3BEDD8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1C6812

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

Preview Lab → · Contrast checker → · Palette generator →

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