#18160C#18160C

#18160C is a very dark, near-neutral yellow. Relative luminance 0.008; OKLCH L 19.9% C 0.019 H 98.2°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#18160C
RGBrgb(24, 22, 12)
HSLhsl(50, 33%, 7%)
HSVhsv(50, 50%, 9%)
CMYKcmyk(0%, 8.3%, 50%, 90.6%)
CIE-LABlab(7.18, -1.03, 5.76)
CIE-LCHlch(7.18, 5.85, 100.18°)
OKLaboklab(19.92% -0.0027 0.0187)
OKLCHoklch(19.92% 0.019 98.2)
XYZxyz(0.7300, 0.7946, 0.4627)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18160C #0C0E18
analogous
#18100C #18160C #14180C
triadic
#18160C #0C1816 #160C18
tetradic
#18160C #0C1810 #0C0E18 #180C14
square
#18160C #0C1810 #0C0E18 #180C14
split-complementary
#18160C #0C1418 #100C18
monochromatic
#14130A #14130A #18160C #413B20 #6A6135

Accessibility & contrast

On white

18.12
#18160C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#18160C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18160C
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18160C#FFFFFF#000000##FFFFFF
##18160C1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18150B
Deuteranopia (green-blind)
#18160C
Tritanopia (blue-blind)
#1A1513
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #18160c;
/* rgb */ color: rgb(24, 22, 12);
/* oklch */ color: oklch(19.9% 0.019 98.2);
Tailwind
colors: {
  custom: {
    50: '#54524c',
    500: '#18160c',
    950: '#000000',
  },
}
SCSS
$custom: #18160c;
$custom-light: #54524c;
$custom-dark: #000000;
JSON
{
  "hex": "#18160c",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 12
  },
  "hsl": {
    "h": 50,
    "s": 33.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.19916,
    "c": 0.01888,
    "h": 98.2
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#18160C
secondary
#31364F
accent
#70C95E
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020201
muted
#787877

Preview Lab

Preview with #18160C

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

Preview Lab → · Contrast checker → · Palette generator →

#18160C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva