#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 |
|---|---|
| RGB | rgb(27, 25, 8) |
| HSL | hsl(54, 54%, 7%) |
| HSV | hsv(54, 70%, 11%) |
| CMYK | cmyk(0%, 7.4%, 70.4%, 89.4%) |
| CIE-LAB | lab(8.53, -2.22, 9.45) |
| CIE-LCH | lch(8.53, 9.71, 103.23°) |
| OKLab | oklab(21.07% -0.0065 0.0292) |
| OKLCH | oklch(21.07% 0.03 102.6) |
| XYZ | xyz(0.8435, 0.9458, 0.3678) |
| Luminance | 0.0095 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Almost Black
#070D0D
ΔE00 8.92
Black
#000000
ΔE00 9.62
Charcoal (survey)
#343837
ΔE00 12.39
Dark Grey
#363737
ΔE00 12.57
Onyx
#353839
ΔE00 13.24
Dark Brown
#341C02
ΔE00 14.23
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 |
|---|---|---|---|---|
| ##1B1908 | 1.00 | 17.66 | 1.19 | 17.66 |
| #FFFFFF | 17.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.66 | 1.00 | 21.00 | 1.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