#1C5812#1C5812

#1C5812 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.118 H 141.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1C5812
RGBrgb(28, 88, 18)
HSLhsl(111, 66%, 21%)
HSVhsv(111, 80%, 35%)
CMYKcmyk(68.2%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.41, -33.64, 32.90)
CIE-LCHlch(32.41, 47.05, 135.64°)
OKLaboklab(40.63% -0.092 0.0743)
OKLCHoklch(40.63% 0.118 141.1)
XYZxyz(4.0776, 7.2696, 1.7604)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C5812 #4E1258
analogous
#3F5812 #1C5812 #12582B
triadic
#1C5812 #121C58 #58121C
tetradic
#1C5812 #123F58 #4E1258 #582B12
square
#1C5812 #123F58 #4E1258 #582B12
split-complementary
#1C5812 #2B1258 #58123F
monochromatic
#081905 #0C2508 #1C5812 #2C8B1C #3CBE27

Accessibility & contrast

On white

8.56
#1C5812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1C5812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C5812
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C5812#FFFFFF#000000##FFFFFF
##1C58121.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#12554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1c5812;
/* rgb */ color: rgb(28, 88, 18);
/* oklch */ color: oklch(40.6% 0.118 141.1);
Tailwind
colors: {
  custom: {
    50: '#618855',
    500: '#1c5812',
    950: '#000000',
  },
}
SCSS
$custom: #1c5812;
$custom-light: #618855;
$custom-dark: #000000;
JSON
{
  "hex": "#1c5812",
  "rgb": {
    "r": 28,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 111.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40625,
    "c": 0.11821,
    "h": 141.1
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#1C5812
secondary
#843591
accent
#3FE9D1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1C5812

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

Preview Lab → · Contrast checker → · Palette generator →

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