#181C06#181C06

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

Color values

HEX#181C06
RGBrgb(24, 28, 6)
HSLhsl(71, 65%, 7%)
HSVhsv(71, 79%, 11%)
CMYKcmyk(14.3%, 0%, 78.6%, 89%)
CIE-LABlab(9.30, -6.31, 11.33)
CIE-LCHlch(9.30, 12.97, 119.12°)
OKLaboklab(21.6% -0.0183 0.0341)
OKLCHoklch(21.6% 0.039 118.2)
XYZxyz(0.8248, 1.0379, 0.3291)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C06 #0A061C
analogous
#1C1506 #181C06 #0D1C06
triadic
#181C06 #06181C #1C0618
tetradic
#181C06 #061C15 #0A061C #1C060D
square
#181C06 #061C15 #0A061C #1C060D
split-complementary
#181C06 #060D1C #15061C
monochromatic
#161905 #161905 #181C06 #434E11 #6E811C

Accessibility & contrast

On white

17.39
#181C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181C06
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C06#FFFFFF#000000##FFFFFF
##181C061.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181c06;
/* rgb */ color: rgb(24, 28, 6);
/* oklch */ color: oklch(21.6% 0.039 118.2);
Tailwind
colors: {
  custom: {
    50: '#545849',
    500: '#181c06',
    950: '#000000',
  },
}
SCSS
$custom: #181c06;
$custom-light: #545849;
$custom-dark: #000000;
JSON
{
  "hex": "#181c06",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 6
  },
  "hsl": {
    "h": 70.909,
    "s": 64.706,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21595,
    "c": 0.03869,
    "h": 118.2
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#181C06
secondary
#2D225B
accent
#40E85F
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #181C06

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

Preview Lab → · Contrast checker → · Palette generator →

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