#181808#181808

#181808 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 20.4% C 0.029 H 108.7°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#181808
RGBrgb(24, 24, 8)
HSLhsl(60, 50%, 6%)
HSVhsv(60, 67%, 9%)
CMYKcmyk(0%, 0%, 66.7%, 90.6%)
CIE-LABlab(7.81, -3.07, 8.36)
CIE-LCHlch(7.81, 8.91, 110.17°)
OKLaboklab(20.42% -0.0092 0.0271)
OKLCHoklch(20.42% 0.029 108.7)
XYZxyz(0.7472, 0.8650, 0.3573)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181808 #080818
analogous
#181008 #181808 #101808
triadic
#181808 #081818 #180818
tetradic
#181808 #081810 #080818 #180810
square
#181808 #081810 #080818 #180810
split-complementary
#181808 #081018 #100818
monochromatic
#171708 #171708 #181808 #464617 #747427

Accessibility & contrast

On white

17.90
#181808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#181808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181808
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181808#FFFFFF#000000##FFFFFF
##1818081.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1707
Deuteranopia (green-blind)
#1B1709
Tritanopia (blue-blind)
#1A1614
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #181808;
/* rgb */ color: rgb(24, 24, 8);
/* oklch */ color: oklch(20.4% 0.029 108.7);
Tailwind
colors: {
  custom: {
    50: '#54544a',
    500: '#181808',
    950: '#000000',
  },
}
SCSS
$custom: #181808;
$custom-light: #54544a;
$custom-dark: #000000;
JSON
{
  "hex": "#181808",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 8
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20415,
    "c": 0.02862,
    "h": 108.7
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#181808
secondary
#282854
accent
#4EDA4E
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020201
muted
#787877

Preview Lab

Preview with #181808

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

Preview Lab → · Contrast checker → · Palette generator →

#181808 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva