#1E4108#1E4108

#1E4108 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.6% C 0.092 H 136.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#1E4108
RGBrgb(30, 65, 8)
HSLhsl(97, 78%, 14%)
HSVhsv(97, 88%, 25%)
CMYKcmyk(53.8%, 0%, 87.7%, 74.5%)
CIE-LABlab(23.91, -23.96, 28.56)
CIE-LCHlch(23.91, 37.28, 129.99°)
OKLaboklab(33.61% -0.0667 0.0636)
OKLCHoklch(33.61% 0.092 136.4)
XYZxyz(2.4695, 4.0740, 0.8859)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4108 #2B0841
analogous
#3B4108 #1E4108 #08410F
triadic
#1E4108 #081E41 #41081E
tetradic
#1E4108 #083B41 #2B0841 #410F08
square
#1E4108 #083B41 #2B0841 #410F08
split-complementary
#1E4108 #0F0841 #41083B
monochromatic
#0D1B03 #0D1B03 #1E4108 #37770F #50AE15

Accessibility & contrast

On white

11.57
#1E4108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E4108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4108
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4108#FFFFFF#000000##FFFFFF
##1E41081.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#1C3E36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e4108;
/* rgb */ color: rgb(30, 65, 8);
/* oklch */ color: oklch(33.6% 0.092 136.4);
Tailwind
colors: {
  custom: {
    50: '#5e764d',
    500: '#1e4108',
    950: '#000000',
  },
}
SCSS
$custom: #1e4108;
$custom-light: #5e764d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4108",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 96.842,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33612,
    "c": 0.09216,
    "h": 136.4
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#1E4108
secondary
#5D257F
accent
#33F5AA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1E4108

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

Preview Lab → · Contrast checker → · Palette generator →

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