#1E4E0C#1E4E0C

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

Color values

HEX#1E4E0C
RGBrgb(30, 78, 12)
HSLhsl(104, 73%, 18%)
HSVhsv(104, 85%, 31%)
CMYKcmyk(61.5%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.78, -29.46, 31.69)
CIE-LCHlch(28.78, 43.27, 132.90°)
OKLaboklab(37.63% -0.0812 0.0708)
OKLCHoklch(37.63% 0.108 138.9)
XYZxyz(3.3260, 5.7511, 1.2826)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E0C #3C0C4E
analogous
#3F4E0C #1E4E0C #0C4E1B
triadic
#1E4E0C #0C1E4E #4E0C1E
tetradic
#1E4E0C #0C3F4E #3C0C4E #4E1B0C
square
#1E4E0C #0C3F4E #3C0C4E #4E1B0C
split-complementary
#1E4E0C #1B0C4E #4E0C3F
monochromatic
#0A1B04 #0A1B04 #1E4E0C #328314 #47B81C

Accessibility & contrast

On white

9.77
#1E4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4E0C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E0C#FFFFFF#000000##FFFFFF
##1E4E0C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#4B4213
Tritanopia (blue-blind)
#194B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e4e0c;
/* rgb */ color: rgb(30, 78, 12);
/* oklch */ color: oklch(37.6% 0.108 138.9);
Tailwind
colors: {
  custom: {
    50: '#618051',
    500: '#1e4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e0c;
$custom-light: #618051;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e0c",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 103.636,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.10773,
    "h": 138.9
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#1E4E0C
secondary
#702C8A
accent
#38F0BE
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1E4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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