#182004#182004

#182004 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.8% C 0.049 H 123.4°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#182004
RGBrgb(24, 32, 4)
HSLhsl(77, 78%, 7%)
HSVhsv(77, 88%, 13%)
CMYKcmyk(25%, 0%, 87.5%, 87.5%)
CIE-LABlab(10.82, -9.24, 14.29)
CIE-LCHlch(10.82, 17.02, 122.88°)
OKLaboklab(22.81% -0.0268 0.0406)
OKLCHoklch(22.81% 0.049 123.4)
XYZxyz(0.9151, 1.2360, 0.3052)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182004 #0C0420
analogous
#201A04 #182004 #0A2004
triadic
#182004 #041820 #200418
tetradic
#182004 #04201A #0C0420 #20040A
square
#182004 #04201A #0C0420 #20040A
split-complementary
#182004 #040A20 #1A0420
monochromatic
#141B03 #141B03 #182004 #41560B #6A8D12

Accessibility & contrast

On white

16.84
#182004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#182004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182004
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182004#FFFFFF#000000##FFFFFF
##1820041.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D02
Deuteranopia (green-blind)
#211D06
Tritanopia (blue-blind)
#1A1E1A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #182004;
/* rgb */ color: rgb(24, 32, 4);
/* oklch */ color: oklch(22.8% 0.049 123.4);
Tailwind
colors: {
  custom: {
    50: '#545b48',
    500: '#182004',
    950: '#000000',
  },
}
SCSS
$custom: #182004;
$custom-light: #545b48;
$custom-dark: #000000;
JSON
{
  "hex": "#182004",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 77.143,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22806,
    "c": 0.04865,
    "h": 123.4
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#182004
secondary
#311D63
accent
#34F46B
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #182004

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

Preview Lab → · Contrast checker → · Palette generator →

#182004 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva