#181B01#181B01

#181B01 is a very dark, muted yellow. Relative luminance 0.010; OKLCH L 21.2% C 0.046 H 115.4°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#181B01
RGBrgb(24, 27, 1)
HSLhsl(67, 93%, 5%)
HSVhsv(67, 96%, 11%)
CMYKcmyk(11.1%, 0%, 96.3%, 89.4%)
CIE-LABlab(8.83, -6.33, 12.68)
CIE-LCHlch(8.83, 14.18, 116.54°)
OKLaboklab(21.18% -0.0198 0.0416)
OKLCHoklch(21.18% 0.046 115.4)
XYZxyz(0.7741, 0.9803, 0.1771)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B01 #04011B
analogous
#1B1101 #181B01 #0B1B01
triadic
#181B01 #01181B #1B0118
tetradic
#181B01 #011B11 #04011B #1B010B
square
#181B01 #011B11 #04011B #1B010B
split-complementary
#181B01 #010B1B #11011B
monochromatic
#1A1E01 #1A1E01 #1A1E01 #4C5603 #819105

Accessibility & contrast

On white

17.56
#181B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#181B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181B01
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B01#FFFFFF#000000##FFFFFF
##181B011.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1900
Deuteranopia (green-blind)
#1E1902
Tritanopia (blue-blind)
#1A1915
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181b01;
/* rgb */ color: rgb(24, 27, 1);
/* oklch */ color: oklch(21.2% 0.046 115.4);
Tailwind
colors: {
  custom: {
    50: '#545747',
    500: '#181b01',
    950: '#000000',
  },
}
SCSS
$custom: #181b01;
$custom-light: #545747;
$custom-dark: #000000;
JSON
{
  "hex": "#181b01",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 1
  },
  "hsl": {
    "h": 66.923,
    "s": 92.857,
    "l": 5.49
  },
  "oklch": {
    "l": 0.21183,
    "c": 0.04607,
    "h": 115.4
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#181B01
secondary
#1E1563
accent
#29FF42
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#020300
muted
#787877

Preview Lab

Preview with #181B01

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

Preview Lab → · Contrast checker → · Palette generator →

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