#1C4012#1C4012

#1C4012 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.084 H 139.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1C4012
RGBrgb(28, 64, 18)
HSLhsl(107, 56%, 16%)
HSVhsv(107, 72%, 25%)
CMYKcmyk(56.2%, 0%, 71.9%, 74.9%)
CIE-LABlab(23.53, -23.26, 23.54)
CIE-LCHlch(23.53, 33.10, 134.66°)
OKLaboklab(33.3% -0.0639 0.0546)
OKLCHoklch(33.3% 0.084 139.5)
XYZxyz(2.4214, 3.9572, 1.2084)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4012 #361240
analogous
#334012 #1C4012 #12401F
triadic
#1C4012 #121C40 #40121C
tetradic
#1C4012 #123340 #361240 #401F12
square
#1C4012 #123340 #361240 #401F12
split-complementary
#1C4012 #1F1240 #401233
monochromatic
#0A1807 #0A1807 #1C4012 #31701F #46A02D

Accessibility & contrast

On white

11.72
#1C4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1C4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4012
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4012#FFFFFF#000000##FFFFFF
##1C40121.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#3D3716
Tritanopia (blue-blind)
#193E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c4012;
/* rgb */ color: rgb(28, 64, 18);
/* oklch */ color: oklch(33.3% 0.084 139.5);
Tailwind
colors: {
  custom: {
    50: '#5c7552',
    500: '#1c4012',
    950: '#000000',
  },
}
SCSS
$custom: #1c4012;
$custom-light: #5c7552;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4012",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 106.957,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33297,
    "c": 0.08405,
    "h": 139.5
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#1C4012
secondary
#6A3579
accent
#48DFBF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1C4012

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

Preview Lab → · Contrast checker → · Palette generator →

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