#1D1908#1D1908

#1D1908 is a very dark, muted yellow. Relative luminance 0.010; OKLCH L 21.3% C 0.030 H 96.5°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#1D1908
RGBrgb(29, 25, 8)
HSLhsl(49, 57%, 7%)
HSVhsv(49, 72%, 11%)
CMYKcmyk(0%, 13.8%, 72.4%, 88.6%)
CIE-LABlab(8.77, -1.07, 9.83)
CIE-LCHlch(8.77, 9.89, 96.21°)
OKLaboklab(21.32% -0.0034 0.0299)
OKLCHoklch(21.32% 0.03 96.5)
XYZxyz(0.8982, 0.9740, 0.3704)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1908 #080C1D
analogous
#1D0F08 #1D1908 #171D08
triadic
#1D1908 #081D19 #19081D
tetradic
#1D1908 #081D0F #080C1D #1D0817
square
#1D1908 #081D0F #080C1D #1D0817
split-complementary
#1D1908 #08171D #0F081D
monochromatic
#181507 #181507 #1D1908 #4D4215 #7D6C22

Accessibility & contrast

On white

17.58
#1D1908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1D1908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1908
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1908#FFFFFF#000000##FFFFFF
##1D19081.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1807
Deuteranopia (green-blind)
#1D1A09
Tritanopia (blue-blind)
#201715
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d1908;
/* rgb */ color: rgb(29, 25, 8);
/* oklch */ color: oklch(21.3% 0.030 96.5);
Tailwind
colors: {
  custom: {
    50: '#58554a',
    500: '#1d1908',
    950: '#000000',
  },
}
SCSS
$custom: #1d1908;
$custom-light: #58554a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1908",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 8
  },
  "hsl": {
    "h": 48.571,
    "s": 56.757,
    "l": 7.255
  },
  "oklch": {
    "l": 0.2132,
    "c": 0.03006,
    "h": 96.5
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#1D1908
secondary
#27315A
accent
#65E048
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#030301
muted
#787877

Preview Lab

Preview with #1D1908

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

Preview Lab → · Contrast checker → · Palette generator →

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