#1E4908#1E4908

#1E4908 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.1% C 0.103 H 137.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#1E4908
RGBrgb(30, 73, 8)
HSLhsl(100, 80%, 16%)
HSVhsv(100, 89%, 29%)
CMYKcmyk(58.9%, 0%, 89%, 71.4%)
CIE-LABlab(26.90, -27.58, 31.40)
CIE-LCHlch(26.90, 41.79, 131.29°)
OKLaboklab(36.07% -0.0764 0.0695)
OKLCHoklch(36.07% 0.103 137.7)
XYZxyz(2.9617, 5.0584, 1.0500)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4908 #330849
analogous
#3E4908 #1E4908 #084912
triadic
#1E4908 #081E49 #49081E
tetradic
#1E4908 #083E49 #330849 #491208
square
#1E4908 #083E49 #330849 #491208
split-complementary
#1E4908 #120849 #49083E
monochromatic
#0B1C03 #0B1C03 #1E4908 #35800E #4BB714

Accessibility & contrast

On white

10.44
#1E4908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1E4908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4908
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4908#FFFFFF#000000##FFFFFF
##1E49081.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#1B463D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e4908;
/* rgb */ color: rgb(30, 73, 8);
/* oklch */ color: oklch(36.1% 0.103 137.7);
Tailwind
colors: {
  custom: {
    50: '#607c4e',
    500: '#1e4908',
    950: '#000000',
  },
}
SCSS
$custom: #1e4908;
$custom-light: #607c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4908",
  "rgb": {
    "r": 30,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 99.692,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36071,
    "c": 0.10328,
    "h": 137.7
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#1E4908
secondary
#662687
accent
#31F7B4
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1E4908

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

Preview Lab → · Contrast checker → · Palette generator →

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