#181908#181908

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

Color values

HEX#181908
RGBrgb(24, 25, 8)
HSLhsl(64, 52%, 6%)
HSVhsv(64, 68%, 10%)
CMYKcmyk(4%, 0%, 68%, 90.2%)
CIE-LABlab(8.19, -3.84, 8.91)
CIE-LCHlch(8.19, 9.70, 113.30°)
OKLaboklab(20.72% -0.0112 0.0281)
OKLCHoklch(20.72% 0.03 111.7)
XYZxyz(0.7682, 0.9070, 0.3643)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181908 #090819
analogous
#191208 #181908 #101908
triadic
#181908 #081819 #190818
tetradic
#181908 #081912 #090819 #190810
square
#181908 #081912 #090819 #190810
split-complementary
#181908 #081019 #120819
monochromatic
#161707 #161707 #181908 #454717 #717626

Accessibility & contrast

On white

17.78
#181908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#181908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181908
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181908#FFFFFF#000000##FFFFFF
##1819081.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1807
Deuteranopia (green-blind)
#1B1809
Tritanopia (blue-blind)
#1A1715
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #181908;
/* rgb */ color: rgb(24, 25, 8);
/* oklch */ color: oklch(20.7% 0.030 111.7);
Tailwind
colors: {
  custom: {
    50: '#54554a',
    500: '#181908',
    950: '#000000',
  },
}
SCSS
$custom: #181908;
$custom-light: #54554a;
$custom-dark: #000000;
JSON
{
  "hex": "#181908",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 8
  },
  "hsl": {
    "h": 63.529,
    "s": 51.515,
    "l": 6.471
  },
  "oklch": {
    "l": 0.20718,
    "c": 0.03028,
    "h": 111.7
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#181908
secondary
#2B2855
accent
#4DDB55
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020301
muted
#787877

Preview Lab

Preview with #181908

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

Preview Lab → · Contrast checker → · Palette generator →

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