#1C4E0C#1C4E0C

#1C4E0C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.109 H 139.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1C4E0C
RGBrgb(28, 78, 12)
HSLhsl(105, 73%, 18%)
HSVhsv(105, 85%, 31%)
CMYKcmyk(64.1%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.70, -30.06, 31.59)
CIE-LCHlch(28.70, 43.61, 133.57°)
OKLaboklab(37.54% -0.0827 0.0706)
OKLCHoklch(37.54% 0.109 139.5)
XYZxyz(3.2695, 5.7219, 1.2799)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E0C #3E0C4E
analogous
#3D4E0C #1C4E0C #0C4E1D
triadic
#1C4E0C #0C1C4E #4E0C1C
tetradic
#1C4E0C #0C3D4E #3E0C4E #4E1D0C
square
#1C4E0C #0C3D4E #3E0C4E #4E1D0C
split-complementary
#1C4E0C #1D0C4E #4E0C3D
monochromatic
#0A1B04 #0A1B04 #1C4E0C #2F8314 #42B81C

Accessibility & contrast

On white

9.79
#1C4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1C4E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E0C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E0C#FFFFFF#000000##FFFFFF
##1C4E0C1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#164B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c4e0c;
/* rgb */ color: rgb(28, 78, 12);
/* oklch */ color: oklch(37.5% 0.109 139.5);
Tailwind
colors: {
  custom: {
    50: '#5f8051',
    500: '#1c4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e0c;
$custom-light: #5f8051;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e0c",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 105.455,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37542,
    "c": 0.10873,
    "h": 139.5
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#1C4E0C
secondary
#732C8A
accent
#38F0C3
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1C4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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