#181C04#181C04

#181C04 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.6% C 0.042 H 117.7°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#181C04
RGBrgb(24, 28, 4)
HSLhsl(70, 75%, 6%)
HSVhsv(70, 86%, 11%)
CMYKcmyk(14.3%, 0%, 85.7%, 89%)
CIE-LABlab(9.27, -6.61, 12.10)
CIE-LCHlch(9.27, 13.78, 118.64°)
OKLaboklab(21.56% -0.0195 0.0373)
OKLCHoklch(21.56% 0.042 117.7)
XYZxyz(0.8139, 1.0335, 0.2714)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C04 #08041C
analogous
#1C1404 #181C04 #0C1C04
triadic
#181C04 #04181C #1C0418
tetradic
#181C04 #041C14 #08041C #1C040C
square
#181C04 #041C14 #08041C #1C040C
split-complementary
#181C04 #040C1C #14041C
monochromatic
#171B04 #171B04 #181C04 #46520C #748713

Accessibility & contrast

On white

17.40
#181C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181C04
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C04#FFFFFF#000000##FFFFFF
##181C041.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A02
Deuteranopia (green-blind)
#1E1A05
Tritanopia (blue-blind)
#1A1A17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181c04;
/* rgb */ color: rgb(24, 28, 4);
/* oklch */ color: oklch(21.6% 0.042 117.7);
Tailwind
colors: {
  custom: {
    50: '#545848',
    500: '#181c04',
    950: '#000000',
  },
}
SCSS
$custom: #181c04;
$custom-light: #545848;
$custom-dark: #000000;
JSON
{
  "hex": "#181c04",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 4
  },
  "hsl": {
    "h": 70,
    "s": 75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.21555,
    "c": 0.04206,
    "h": 117.7
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#181C04
secondary
#281D5E
accent
#36F255
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #181C04

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

Preview Lab → · Contrast checker → · Palette generator →

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