#181A04#181A04

#181A04 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 20.9% C 0.039 H 113.9°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#181A04
RGBrgb(24, 26, 4)
HSLhsl(65, 73%, 6%)
HSVhsv(65, 85%, 10%)
CMYKcmyk(7.7%, 0%, 84.6%, 89.8%)
CIE-LABlab(8.50, -5.16, 10.99)
CIE-LCHlch(8.50, 12.14, 115.18°)
OKLaboklab(20.94% -0.0157 0.0355)
OKLCHoklch(20.94% 0.039 113.9)
XYZxyz(0.7680, 0.9418, 0.2562)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A04 #06041A
analogous
#1A1104 #181A04 #0D1A04
triadic
#181A04 #04181A #1A0418
tetradic
#181A04 #041A11 #06041A #1A040D
square
#181A04 #041A11 #06041A #1A040D
split-complementary
#181A04 #040D1A #11041A
monochromatic
#181B04 #181B04 #181B04 #494F0C #7A8414

Accessibility & contrast

On white

17.67
#181A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#181A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A04
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A04#FFFFFF#000000##FFFFFF
##181A041.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1802
Deuteranopia (green-blind)
#1D1905
Tritanopia (blue-blind)
#1A1815
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #181a04;
/* rgb */ color: rgb(24, 26, 4);
/* oklch */ color: oklch(20.9% 0.039 113.9);
Tailwind
colors: {
  custom: {
    50: '#545648',
    500: '#181a04',
    950: '#000000',
  },
}
SCSS
$custom: #181a04;
$custom-light: #545648;
$custom-dark: #000000;
JSON
{
  "hex": "#181a04",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 4
  },
  "hsl": {
    "h": 65.455,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20937,
    "c": 0.03886,
    "h": 113.9
  },
  "luminance": 0.00942
}

Semantic roles & 50–950 ramp

primary
#181A04
secondary
#231E5C
accent
#38F049
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #181A04

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

Preview Lab → · Contrast checker → · Palette generator →

#181A04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva