#181C01#181C01

#181C01 is a very dark, muted yellow. Relative luminance 0.010; OKLCH L 21.5% C 0.048 H 117.1°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#181C01
RGBrgb(24, 28, 1)
HSLhsl(69, 93%, 6%)
HSVhsv(69, 96%, 11%)
CMYKcmyk(14.3%, 0%, 96.4%, 89%)
CIE-LABlab(9.21, -7.05, 13.24)
CIE-LCHlch(9.21, 15.00, 118.03°)
OKLaboklab(21.49% -0.0216 0.0423)
OKLCHoklch(21.49% 0.048 117.1)
XYZxyz(0.7974, 1.0269, 0.1849)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C01 #05011C
analogous
#1C1201 #181C01 #0A1C01
triadic
#181C01 #01181C #1C0118
tetradic
#181C01 #011C12 #05011C #1C010A
square
#181C01 #011C12 #05011C #1C010A
split-complementary
#181C01 #010A1C #12011C
monochromatic
#191E01 #191E01 #191E01 #4B5703 #7D9205

Accessibility & contrast

On white

17.42
#181C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#181C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C01
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C01#FFFFFF#000000##FFFFFF
##181C011.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A00
Deuteranopia (green-blind)
#1E1A02
Tritanopia (blue-blind)
#1A1A16
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181c01;
/* rgb */ color: rgb(24, 28, 1);
/* oklch */ color: oklch(21.5% 0.048 117.1);
Tailwind
colors: {
  custom: {
    50: '#545847',
    500: '#181c01',
    950: '#000000',
  },
}
SCSS
$custom: #181c01;
$custom-light: #545847;
$custom-dark: #000000;
JSON
{
  "hex": "#181c01",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 1
  },
  "hsl": {
    "h": 68.889,
    "s": 93.103,
    "l": 5.686
  },
  "oklch": {
    "l": 0.21494,
    "c": 0.04752,
    "h": 117.1
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#181C01
secondary
#211564
accent
#29FF49
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#020300
muted
#787877

Preview Lab

Preview with #181C01

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

Preview Lab → · Contrast checker → · Palette generator →

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