#181E04#181E04

#181E04 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 22.2% C 0.045 H 120.8°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#181E04
RGBrgb(24, 30, 4)
HSLhsl(74, 76%, 7%)
HSVhsv(74, 87%, 12%)
CMYKcmyk(20%, 0%, 86.7%, 88.2%)
CIE-LABlab(10.04, -7.94, 13.20)
CIE-LCHlch(10.04, 15.40, 121.05°)
OKLaboklab(22.18% -0.0232 0.0389)
OKLCHoklch(22.18% 0.045 120.8)
XYZxyz(0.8629, 1.1315, 0.2878)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E04 #0A041E
analogous
#1E1704 #181E04 #0B1E04
triadic
#181E04 #04181E #1E0418
tetradic
#181E04 #041E17 #0A041E #1E040B
square
#181E04 #041E17 #0A041E #1E040B
split-complementary
#181E04 #040B1E #17041E
monochromatic
#161B04 #161B04 #181E04 #43540B #6E8A12

Accessibility & contrast

On white

17.12
#181E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E04
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E04#FFFFFF#000000##FFFFFF
##181E041.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C02
Deuteranopia (green-blind)
#201C05
Tritanopia (blue-blind)
#1A1C18
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181e04;
/* rgb */ color: rgb(24, 30, 4);
/* oklch */ color: oklch(22.2% 0.045 120.8);
Tailwind
colors: {
  custom: {
    50: '#545948',
    500: '#181e04',
    950: '#000000',
  },
}
SCSS
$custom: #181e04;
$custom-light: #545948;
$custom-dark: #000000;
JSON
{
  "hex": "#181e04",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 4
  },
  "hsl": {
    "h": 73.846,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22178,
    "c": 0.04534,
    "h": 120.8
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#181E04
secondary
#2D1D61
accent
#35F361
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #181E04

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

Preview Lab → · Contrast checker → · Palette generator →

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