#1C4E12#1C4E12

#1C4E12 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.105 H 140.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1C4E12
RGBrgb(28, 78, 18)
HSLhsl(110, 63%, 19%)
HSVhsv(110, 77%, 31%)
CMYKcmyk(64.1%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.74, -29.55, 29.14)
CIE-LCHlch(28.74, 41.50, 135.39°)
OKLaboklab(37.59% -0.0809 0.0664)
OKLCHoklch(37.59% 0.105 140.6)
XYZxyz(3.3123, 5.7390, 1.5053)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E12 #44124E
analogous
#3A4E12 #1C4E12 #124E26
triadic
#1C4E12 #121C4E #4E121C
tetradic
#1C4E12 #123A4E #44124E #4E2612
square
#1C4E12 #123A4E #44124E #4E2612
split-complementary
#1C4E12 #26124E #4E123A
monochromatic
#091906 #0A1C07 #1C4E12 #2E801D #40B129

Accessibility & contrast

On white

9.78
#1C4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1C4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E12
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E12#FFFFFF#000000##FFFFFF
##1C4E121.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#154B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c4e12;
/* rgb */ color: rgb(28, 78, 18);
/* oklch */ color: oklch(37.6% 0.105 140.6);
Tailwind
colors: {
  custom: {
    50: '#5f8054',
    500: '#1c4e12',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e12;
$custom-light: #5f8054;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e12",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 110,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37593,
    "c": 0.10467,
    "h": 140.6
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#1C4E12
secondary
#793587
accent
#42E6CA
background
#F5F7F4
surface
#EAEEE8
border
#C6C9C4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1C4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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