#1B1908#1B1908

#1B1908 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 21.1% C 0.030 H 102.6°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#1B1908
RGBrgb(27, 25, 8)
HSLhsl(54, 54%, 7%)
HSVhsv(54, 70%, 11%)
CMYKcmyk(0%, 7.4%, 70.4%, 89.4%)
CIE-LABlab(8.53, -2.22, 9.45)
CIE-LCHlch(8.53, 9.71, 103.23°)
OKLaboklab(21.07% -0.0065 0.0292)
OKLCHoklch(21.07% 0.03 102.6)
XYZxyz(0.8435, 0.9458, 0.3678)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1908 #080A1B
analogous
#1B1008 #1B1908 #141B08
triadic
#1B1908 #081B19 #19081B
tetradic
#1B1908 #081B10 #080A1B #1B0814
square
#1B1908 #081B10 #080A1B #1B0814
split-complementary
#1B1908 #08141B #10081B
monochromatic
#181607 #181607 #1B1908 #4A4516 #797024

Accessibility & contrast

On white

17.66
#1B1908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1908
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1908#FFFFFF#000000##FFFFFF
##1B19081.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1908;
/* rgb */ color: rgb(27, 25, 8);
/* oklch */ color: oklch(21.1% 0.030 102.6);
Tailwind
colors: {
  custom: {
    50: '#57554a',
    500: '#1b1908',
    950: '#000000',
  },
}
SCSS
$custom: #1b1908;
$custom-light: #57554a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1908",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 8
  },
  "hsl": {
    "h": 53.684,
    "s": 54.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21071,
    "c": 0.02987,
    "h": 102.6
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#1B1908
secondary
#272C57
accent
#5ADE4A
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#030301
muted
#787877

Preview Lab

Preview with #1B1908

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

Preview Lab → · Contrast checker → · Palette generator →

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