#181A06#181A06

#181A06 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 21.0% C 0.035 H 114.1°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#181A06
RGBrgb(24, 26, 6)
HSLhsl(66, 63%, 6%)
HSVhsv(66, 77%, 10%)
CMYKcmyk(7.7%, 0%, 76.9%, 89.8%)
CIE-LABlab(8.53, -4.87, 10.23)
CIE-LCHlch(8.53, 11.33, 115.49°)
OKLaboklab(20.98% -0.0144 0.0323)
OKLCHoklch(20.98% 0.035 114.1)
XYZxyz(0.7790, 0.9461, 0.3138)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A06 #08061A
analogous
#1A1206 #181A06 #0E1A06
triadic
#181A06 #06181A #1A0618
tetradic
#181A06 #061A12 #08061A #1A060E
square
#181A06 #061A12 #08061A #1A060E
split-complementary
#181A06 #060E1A #12061A
monochromatic
#171906 #171906 #181A06 #464C11 #747D1D

Accessibility & contrast

On white

17.66
#181A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#181A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A06
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A06#FFFFFF#000000##FFFFFF
##181A061.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1805
Deuteranopia (green-blind)
#1C1907
Tritanopia (blue-blind)
#1A1815
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181a06;
/* rgb */ color: rgb(24, 26, 6);
/* oklch */ color: oklch(21.0% 0.035 114.1);
Tailwind
colors: {
  custom: {
    50: '#545649',
    500: '#181a06',
    950: '#000000',
  },
}
SCSS
$custom: #181a06;
$custom-light: #545649;
$custom-dark: #000000;
JSON
{
  "hex": "#181a06",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 6
  },
  "hsl": {
    "h": 66,
    "s": 62.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20979,
    "c": 0.03532,
    "h": 114.1
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#181A06
secondary
#282359
accent
#42E653
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #181A06

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

Preview Lab → · Contrast checker → · Palette generator →

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