#18180E#18180E

#18180E is a very dark, near-neutral yellow. Relative luminance 0.009; OKLCH L 20.6% C 0.019 H 107.9°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#18180E
RGBrgb(24, 24, 14)
HSLhsl(60, 26%, 7%)
HSVhsv(60, 42%, 9%)
CMYKcmyk(0%, 0%, 41.7%, 90.6%)
CIE-LABlab(7.94, -2.17, 5.91)
CIE-LCHlch(7.94, 6.30, 110.18°)
OKLaboklab(20.56% -0.0057 0.0178)
OKLCHoklch(20.56% 0.019 107.9)
XYZxyz(0.7826, 0.8792, 0.5439)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18180E #0E0E18
analogous
#18130E #18180E #13180E
triadic
#18180E #0E1818 #180E18
tetradic
#18180E #0E1813 #0E0E18 #180E13
square
#18180E #0E1813 #0E0E18 #180E13
split-complementary
#18180E #0E1318 #130E18
monochromatic
#13130B #13130B #18180E #3F3F25 #65653B

Accessibility & contrast

On white

17.86
#18180E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#18180E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18180E
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18180E#FFFFFF#000000##FFFFFF
##18180E1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A170D
Deuteranopia (green-blind)
#1A180E
Tritanopia (blue-blind)
#191715
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #18180e;
/* rgb */ color: rgb(24, 24, 14);
/* oklch */ color: oklch(20.6% 0.019 107.9);
Tailwind
colors: {
  custom: {
    50: '#54544d',
    500: '#18180e',
    950: '#000000',
  },
}
SCSS
$custom: #18180e;
$custom-light: #54544d;
$custom-dark: #000000;
JSON
{
  "hex": "#18180e",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 60,
    "s": 26.316,
    "l": 7.451
  },
  "oklch": {
    "l": 0.2056,
    "c": 0.01867,
    "h": 107.9
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#18180E
secondary
#35354D
accent
#65C365
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020201
muted
#787877

Preview Lab

Preview with #18180E

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

Preview Lab → · Contrast checker → · Palette generator →

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