#1E2004#1E2004

#1E2004 is a very dark, muted yellow. Relative luminance 0.013; OKLCH L 23.4% C 0.046 H 113.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#1E2004
RGBrgb(30, 32, 4)
HSLhsl(64, 78%, 7%)
HSVhsv(64, 88%, 13%)
CMYKcmyk(6.2%, 0%, 87.5%, 87.5%)
CIE-LABlab(11.40, -5.90, 15.18)
CIE-LCHlch(11.40, 16.29, 111.25°)
OKLaboklab(23.42% -0.018 0.042)
OKLCHoklch(23.42% 0.046 113.2)
XYZxyz(1.0739, 1.3178, 0.3126)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2004 #060420
analogous
#201404 #1E2004 #102004
triadic
#1E2004 #041E20 #20041E
tetradic
#1E2004 #042014 #060420 #200410
square
#1E2004 #042014 #060420 #200410
split-complementary
#1E2004 #041020 #140420
monochromatic
#191B03 #191B03 #1E2004 #51560B #848D12

Accessibility & contrast

On white

16.62
#1E2004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1E2004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2004
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2004#FFFFFF#000000##FFFFFF
##1E20041.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#231F05
Tritanopia (blue-blind)
#211D1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1e2004;
/* rgb */ color: rgb(30, 32, 4);
/* oklch */ color: oklch(23.4% 0.046 113.2);
Tailwind
colors: {
  custom: {
    50: '#5a5b48',
    500: '#1e2004',
    950: '#000000',
  },
}
SCSS
$custom: #1e2004;
$custom-light: #5a5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2004",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 64.286,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.23417,
    "c": 0.04572,
    "h": 113.2
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#1E2004
secondary
#221D63
accent
#34F441
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1E2004

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

Preview Lab → · Contrast checker → · Palette generator →

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