#1E4207#1E4207

#1E4207 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 33.9% C 0.094 H 136.4°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#1E4207
RGBrgb(30, 66, 7)
HSLhsl(97, 81%, 14%)
HSVhsv(97, 89%, 26%)
CMYKcmyk(54.5%, 0%, 89.4%, 74.1%)
CIE-LABlab(24.28, -24.50, 29.33)
CIE-LCHlch(24.28, 38.22, 129.87°)
OKLaboklab(33.91% -0.0682 0.065)
OKLCHoklch(33.91% 0.094 136.4)
XYZxyz(2.5219, 4.1876, 0.8764)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4207 #2B0742
analogous
#3C4207 #1E4207 #07420E
triadic
#1E4207 #071E42 #42071E
tetradic
#1E4207 #073C42 #2B0742 #420E07
square
#1E4207 #073C42 #2B0742 #420E07
split-complementary
#1E4207 #0E0742 #42073C
monochromatic
#0D1C03 #0D1C03 #1E4207 #37790D #50B113

Accessibility & contrast

On white

11.43
#1E4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E4207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4207
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4207#FFFFFF#000000##FFFFFF
##1E42071.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#40390E
Tritanopia (blue-blind)
#1C3F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e4207;
/* rgb */ color: rgb(30, 66, 7);
/* oklch */ color: oklch(33.9% 0.094 136.4);
Tailwind
colors: {
  custom: {
    50: '#5e774c',
    500: '#1e4207',
    950: '#000000',
  },
}
SCSS
$custom: #1e4207;
$custom-light: #5e774c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4207",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 96.61,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33913,
    "c": 0.09426,
    "h": 136.4
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#1E4207
secondary
#5D2481
accent
#31F7AA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1E4207

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

Preview Lab → · Contrast checker → · Palette generator →

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