#18180A#18180A

#18180A is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 20.5% C 0.025 H 108.4°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#18180A
RGBrgb(24, 24, 10)
HSLhsl(60, 41%, 7%)
HSVhsv(60, 58%, 9%)
CMYKcmyk(0%, 0%, 58.3%, 90.6%)
CIE-LABlab(7.85, -2.80, 7.60)
CIE-LCHlch(7.85, 8.10, 110.18°)
OKLaboklab(20.46% -0.008 0.024)
OKLCHoklch(20.46% 0.025 108.4)
XYZxyz(0.7581, 0.8694, 0.4150)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18180A #0A0A18
analogous
#18110A #18180A #11180A
triadic
#18180A #0A1818 #180A18
tetradic
#18180A #0A1811 #0A0A18 #180A11
square
#18180A #0A1811 #0A0A18 #180A11
split-complementary
#18180A #0A1118 #110A18
monochromatic
#161609 #161609 #18180A #43431C #6E6E2E

Accessibility & contrast

On white

17.89
#18180A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#18180A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18180A
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18180A#FFFFFF#000000##FFFFFF
##18180A1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1709
Deuteranopia (green-blind)
#1A170B
Tritanopia (blue-blind)
#1A1615
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #18180a;
/* rgb */ color: rgb(24, 24, 10);
/* oklch */ color: oklch(20.5% 0.025 108.4);
Tailwind
colors: {
  custom: {
    50: '#54544b',
    500: '#18180a',
    950: '#000000',
  },
}
SCSS
$custom: #18180a;
$custom-light: #54544b;
$custom-dark: #000000;
JSON
{
  "hex": "#18180a",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 10
  },
  "hsl": {
    "h": 60,
    "s": 41.176,
    "l": 6.667
  },
  "oklch": {
    "l": 0.2046,
    "c": 0.02535,
    "h": 108.4
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#18180A
secondary
#2D2D51
accent
#57D157
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020201
muted
#787877

Preview Lab

Preview with #18180A

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

Preview Lab → · Contrast checker → · Palette generator →

#18180A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva