#1E3402#1E3402

#1E3402 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.078 H 131.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1E3402
RGBrgb(30, 52, 2)
HSLhsl(86, 93%, 11%)
HSVhsv(86, 96%, 20%)
CMYKcmyk(42.3%, 0%, 96.2%, 79.6%)
CIE-LABlab(18.96, -18.03, 25.64)
CIE-LCHlch(18.96, 31.35, 125.11°)
OKLaboklab(29.53% -0.0514 0.059)
OKLCHoklch(29.53% 0.078 131.1)
XYZxyz(1.7744, 2.7363, 0.4921)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3402 #180234
analogous
#343102 #1E3402 #053402
triadic
#1E3402 #021E34 #34021E
tetradic
#1E3402 #023431 #180234 #340205
square
#1E3402 #023431 #180234 #340205
split-complementary
#1E3402 #020534 #310234
monochromatic
#111D01 #111D01 #1E3402 #406F04 #62AA07

Accessibility & contrast

On white

13.57
#1E3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E3402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3402
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3402#FFFFFF#000000##FFFFFF
##1E34021.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#342D06
Tritanopia (blue-blind)
#1F312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e3402;
/* rgb */ color: rgb(30, 52, 2);
/* oklch */ color: oklch(29.5% 0.078 131.1);
Tailwind
colors: {
  custom: {
    50: '#5c6b48',
    500: '#1e3402',
    950: '#000000',
  },
}
SCSS
$custom: #1e3402;
$custom-light: #5c6b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3402",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 86.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29531,
    "c": 0.07825,
    "h": 131.1
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#1E3402
secondary
#431A78
accent
#29FF87
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1E3402

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

Preview Lab → · Contrast checker → · Palette generator →

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