#1D2004#1D2004

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

Color values

HEX#1D2004
RGBrgb(29, 32, 4)
HSLhsl(66, 78%, 7%)
HSVhsv(66, 88%, 13%)
CMYKcmyk(9.4%, 0%, 87.5%, 87.5%)
CIE-LABlab(11.30, -6.47, 15.02)
CIE-LCHlch(11.30, 16.36, 113.31°)
OKLaboklab(23.31% -0.0195 0.0418)
OKLCHoklch(23.31% 0.046 115)
XYZxyz(1.0451, 1.3030, 0.3113)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2004 #070420
analogous
#201504 #1D2004 #0F2004
triadic
#1D2004 #041D20 #20041D
tetradic
#1D2004 #042015 #070420 #20040F
square
#1D2004 #042015 #070420 #20040F
split-complementary
#1D2004 #040F20 #150420
monochromatic
#191B03 #191B03 #1D2004 #4E560B #808D12

Accessibility & contrast

On white

16.66
#1D2004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2004
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2004#FFFFFF#000000##FFFFFF
##1D20041.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#231E05
Tritanopia (blue-blind)
#201E1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d2004;
/* rgb */ color: rgb(29, 32, 4);
/* oklch */ color: oklch(23.3% 0.046 115.0);
Tailwind
colors: {
  custom: {
    50: '#595b48',
    500: '#1d2004',
    950: '#000000',
  },
}
SCSS
$custom: #1d2004;
$custom-light: #595b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2004",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 66.429,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.23309,
    "c": 0.04611,
    "h": 115
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#1D2004
secondary
#251D63
accent
#34F448
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1D2004

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

Preview Lab → · Contrast checker → · Palette generator →

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