#1C4C0C#1C4C0C

#1C4C0C is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.106 H 139.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#1C4C0C
RGBrgb(28, 76, 12)
HSLhsl(105, 73%, 17%)
HSVhsv(105, 84%, 30%)
CMYKcmyk(63.2%, 0%, 84.2%, 70.2%)
CIE-LABlab(27.96, -29.22, 30.87)
CIE-LCHlch(27.96, 42.51, 133.42°)
OKLaboklab(36.93% -0.0804 0.0691)
OKLCHoklch(36.93% 0.106 139.3)
XYZxyz(3.1296, 5.4420, 1.2333)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4C0C #3C0C4C
analogous
#3C4C0C #1C4C0C #0C4C1C
triadic
#1C4C0C #0C1C4C #4C0C1C
tetradic
#1C4C0C #0C3C4C #3C0C4C #4C1C0C
square
#1C4C0C #0C3C4C #3C0C4C #4C1C0C
split-complementary
#1C4C0C #1C0C4C #4C0C3C
monochromatic
#0A1A04 #0A1A04 #1C4C0C #2F8114 #43B61D

Accessibility & contrast

On white

10.06
#1C4C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1C4C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4C0C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4C0C#FFFFFF#000000##FFFFFF
##1C4C0C1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4401
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#174940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c4c0c;
/* rgb */ color: rgb(28, 76, 12);
/* oklch */ color: oklch(36.9% 0.106 139.3);
Tailwind
colors: {
  custom: {
    50: '#5f7e50',
    500: '#1c4c0c',
    950: '#000000',
  },
}
SCSS
$custom: #1c4c0c;
$custom-light: #5f7e50;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4c0c",
  "rgb": {
    "r": 28,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 105,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3693,
    "c": 0.10604,
    "h": 139.3
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#1C4C0C
secondary
#712C88
accent
#38EFC2
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1C4C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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