#1C4E0F#1C4E0F

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

Color values

HEX#1C4E0F
RGBrgb(28, 78, 15)
HSLhsl(108, 68%, 18%)
HSVhsv(108, 81%, 31%)
CMYKcmyk(64.1%, 0%, 80.8%, 69.4%)
CIE-LABlab(28.72, -29.82, 30.42)
CIE-LCHlch(28.72, 42.60, 134.43°)
OKLaboklab(37.57% -0.0819 0.0686)
OKLCHoklch(37.57% 0.107 140)
XYZxyz(3.2894, 5.7299, 1.3845)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E0F #410F4E
analogous
#3B4E0F #1C4E0F #0F4E21
triadic
#1C4E0F #0F1C4E #4E0F1C
tetradic
#1C4E0F #0F3B4E #410F4E #4E210F
square
#1C4E0F #0F3B4E #410F4E #4E210F
split-complementary
#1C4E0F #210F4E #4E0F3B
monochromatic
#091A05 #0A1B05 #1C4E0F #2E8119 #41B523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C4E0F#FFFFFF#000000##FFFFFF
##1C4E0F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c4e0f;
/* rgb */ color: rgb(28, 78, 15);
/* oklch */ color: oklch(37.6% 0.107 140.0);
Tailwind
colors: {
  custom: {
    50: '#5f8052',
    500: '#1c4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e0f;
$custom-light: #5f8052;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e0f",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 107.619,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.10682,
    "h": 140
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#1C4E0F
secondary
#763188
accent
#3DEBC7
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1C4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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