#1E4C0C#1E4C0C

#1E4C0C is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.105 H 138.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1E4C0C
RGBrgb(30, 76, 12)
HSLhsl(103, 73%, 17%)
HSVhsv(103, 84%, 30%)
CMYKcmyk(60.5%, 0%, 84.2%, 70.2%)
CIE-LABlab(28.04, -28.60, 30.98)
CIE-LCHlch(28.04, 42.16, 132.71°)
OKLaboklab(37.02% -0.0789 0.0693)
OKLCHoklch(37.02% 0.105 138.7)
XYZxyz(3.1861, 5.4712, 1.2359)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C0C #3A0C4C
analogous
#3E4C0C #1E4C0C #0C4C1A
triadic
#1E4C0C #0C1E4C #4C0C1E
tetradic
#1E4C0C #0C3E4C #3A0C4C #4C1A0C
square
#1E4C0C #0C3E4C #3A0C4C #4C1A0C
split-complementary
#1E4C0C #1A0C4C #4C0C3E
monochromatic
#0A1A04 #0A1A04 #1E4C0C #338114 #48B61D

Accessibility & contrast

On white

10.03
#1E4C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1E4C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C0C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C0C#FFFFFF#000000##FFFFFF
##1E4C0C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#1A4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e4c0c;
/* rgb */ color: rgb(30, 76, 12);
/* oklch */ color: oklch(37.0% 0.105 138.7);
Tailwind
colors: {
  custom: {
    50: '#607e50',
    500: '#1e4c0c',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c0c;
$custom-light: #607e50;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c0c",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 103.125,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37016,
    "c": 0.10501,
    "h": 138.7
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#1E4C0C
secondary
#6E2C88
accent
#38EFBC
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1E4C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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