#1E4A0F#1E4A0F

#1E4A0F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.100 H 139.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#1E4A0F
RGBrgb(30, 74, 15)
HSLhsl(105, 66%, 17%)
HSVhsv(105, 80%, 29%)
CMYKcmyk(59.5%, 0%, 79.7%, 71%)
CIE-LABlab(27.32, -27.48, 29.03)
CIE-LCHlch(27.32, 39.97, 133.43°)
OKLaboklab(36.43% -0.0757 0.0657)
OKLCHoklch(36.43% 0.1 139)
XYZxyz(3.0703, 5.2078, 1.2953)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A0F #3B0F4A
analogous
#3B4A0F #1E4A0F #0F4A1E
triadic
#1E4A0F #0F1E4A #4A0F1E
tetradic
#1E4A0F #0F3B4A #3B0F4A #4A1E0F
square
#1E4A0F #0F3B4A #3B0F4A #4A1E0F
split-complementary
#1E4A0F #1E0F4A #4A0F3B
monochromatic
#0A1905 #0A1905 #1E4A0F #337D19 #47B024

Accessibility & contrast

On white

10.29
#1E4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1E4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A0F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A0F#FFFFFF#000000##FFFFFF
##1E4A0F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4306
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#1A473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e4a0f;
/* rgb */ color: rgb(30, 74, 15);
/* oklch */ color: oklch(36.4% 0.100 139.0);
Tailwind
colors: {
  custom: {
    50: '#5f7d52',
    500: '#1e4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a0f;
$custom-light: #5f7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a0f",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 104.746,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36431,
    "c": 0.10022,
    "h": 139
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#1E4A0F
secondary
#6F3084
accent
#3FE9BE
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1E4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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