#151B18#151B18

#151B18 is a very dark, near-neutral teal. Relative luminance 0.010; OKLCH L 21.5% C 0.011 H 163.8°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#151B18
RGBrgb(21, 27, 24)
HSLhsl(150, 13%, 9%)
HSVhsv(150, 22%, 11%)
CMYKcmyk(22.2%, 0%, 11.1%, 89.4%)
CIE-LABlab(9.07, -3.62, 1.15)
CIE-LCHlch(9.07, 3.80, 162.31°)
OKLaboklab(21.48% -0.0103 0.003)
OKLCHoklch(21.48% 0.011 163.8)
XYZxyz(0.8660, 1.0092, 1.0131)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B18 #1B1518
analogous
#151B15 #151B18 #151B1B
triadic
#151B18 #18151B #1B1815
tetradic
#151B18 #15151B #1B1518 #1B1B15
square
#151B18 #15151B #1B1518 #1B1B15
split-complementary
#151B18 #1B151B #1B1515
monochromatic
#0D110F #0D110F #151B18 #303D37 #4B6055

Accessibility & contrast

On white

17.47
#151B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#151B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B18
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B18#FFFFFF#000000##FFFFFF
##151B181.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1A18
Deuteranopia (green-blind)
#1A1918
Tritanopia (blue-blind)
#141B1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #151b18;
/* rgb */ color: rgb(21, 27, 24);
/* oklch */ color: oklch(21.5% 0.011 163.8);
Tailwind
colors: {
  custom: {
    50: '#525754',
    500: '#151b18',
    950: '#000000',
  },
}
SCSS
$custom: #151b18;
$custom-light: #525754;
$custom-dark: #000000;
JSON
{
  "hex": "#151b18",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 150,
    "s": 12.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21477,
    "c": 0.01071,
    "h": 163.8
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#151B18
secondary
#4C4046
accent
#7294B5
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020302
muted
#787878

Preview Lab

Preview with #151B18

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

Preview Lab → · Contrast checker → · Palette generator →

#151B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva