#1C4E17#1C4E17

#1C4E17 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.101 H 141.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1C4E17
RGBrgb(28, 78, 23)
HSLhsl(115, 54%, 20%)
HSVhsv(115, 71%, 31%)
CMYKcmyk(64.1%, 0%, 70.5%, 69.4%)
CIE-LABlab(28.79, -29.00, 26.80)
CIE-LCHlch(28.79, 39.49, 137.26°)
OKLaboklab(37.65% -0.0791 0.0622)
OKLCHoklch(37.65% 0.101 141.8)
XYZxyz(3.3578, 5.7572, 1.7448)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E17 #49174E
analogous
#384E17 #1C4E17 #174E2D
triadic
#1C4E17 #171C4E #4E171C
tetradic
#1C4E17 #17384E #49174E #4E2D17
square
#1C4E17 #17384E #49174E #4E2D17
split-complementary
#1C4E17 #2D174E #4E1738
monochromatic
#081807 #0B1F09 #1C4E17 #2D7D25 #3EAD33

Accessibility & contrast

On white

9.76
#1C4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4E17
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E17#FFFFFF#000000##FFFFFF
##1C4E171.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504610
Deuteranopia (green-blind)
#4A421C
Tritanopia (blue-blind)
#144B43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c4e17;
/* rgb */ color: rgb(28, 78, 23);
/* oklch */ color: oklch(37.6% 0.101 141.8);
Tailwind
colors: {
  custom: {
    50: '#5f8057',
    500: '#1c4e17',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e17;
$custom-light: #5f8057;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e17",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 114.545,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37647,
    "c": 0.10061,
    "h": 141.8
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#1C4E17
secondary
#7E3C85
accent
#4ADED0
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1C4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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