#181C02#181C02

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

Color values

HEX#181C02
RGBrgb(24, 28, 2)
HSLhsl(69, 87%, 6%)
HSVhsv(69, 93%, 11%)
CMYKcmyk(14.3%, 0%, 92.9%, 89%)
CIE-LABlab(9.23, -6.90, 12.86)
CIE-LCHlch(9.23, 14.59, 118.22°)
OKLaboklab(21.52% -0.0209 0.0406)
OKLCHoklch(21.52% 0.046 117.2)
XYZxyz(0.8029, 1.0291, 0.2138)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C02 #06021C
analogous
#1C1302 #181C02 #0B1C02
triadic
#181C02 #02181C #1C0218
tetradic
#181C02 #021C13 #06021C #1C020B
square
#181C02 #021C13 #06021C #1C020B
split-complementary
#181C02 #020B1C #13021C
monochromatic
#181D02 #181D02 #181D02 #495506 #7A8E0A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##181C02#FFFFFF#000000##FFFFFF
##181C021.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)
#1E1A03
Tritanopia (blue-blind)
#1A1A16
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181c02;
/* rgb */ color: rgb(24, 28, 2);
/* oklch */ color: oklch(21.5% 0.046 117.2);
Tailwind
colors: {
  custom: {
    50: '#545847',
    500: '#181c02',
    950: '#000000',
  },
}
SCSS
$custom: #181c02;
$custom-light: #545847;
$custom-dark: #000000;
JSON
{
  "hex": "#181c02",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 2
  },
  "hsl": {
    "h": 69.231,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.21515,
    "c": 0.04565,
    "h": 117.2
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#181C02
secondary
#231862
accent
#2BFD4B
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #181C02

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

Preview Lab → · Contrast checker → · Palette generator →

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