#151A12#151A12

#151A12 is a very dark, near-neutral yellow-green. Relative luminance 0.009; OKLCH L 21.0% C 0.017 H 133.9°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#151A12
RGBrgb(21, 26, 18)
HSLhsl(98, 18%, 9%)
HSVhsv(98, 31%, 10%)
CMYKcmyk(19.2%, 0%, 30.8%, 89.8%)
CIE-LABlab(8.50, -4.36, 4.46)
CIE-LCHlch(8.50, 6.24, 134.32°)
OKLaboklab(20.96% -0.0119 0.0124)
OKLCHoklch(20.96% 0.017 133.9)
XYZxyz(0.7878, 0.9419, 0.7124)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A12 #17121A
analogous
#191A12 #151A12 #121A13
triadic
#151A12 #12151A #1A1215
tetradic
#151A12 #12191A #17121A #1A1312
square
#151A12 #12191A #17121A #1A1312
split-complementary
#151A12 #13121A #1A1219
monochromatic
#0F120D #0F120D #151A12 #323E2B #4F6244

Accessibility & contrast

On white

17.67
#151A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#151A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A12
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A12#FFFFFF#000000##FFFFFF
##151A121.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1912
Deuteranopia (green-blind)
#1A1812
Tritanopia (blue-blind)
#151918
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #151a12;
/* rgb */ color: rgb(21, 26, 18);
/* oklch */ color: oklch(21.0% 0.017 133.9);
Tailwind
colors: {
  custom: {
    50: '#52564f',
    500: '#151a12',
    950: '#000000',
  },
}
SCSS
$custom: #151a12;
$custom-light: #52564f;
$custom-dark: #000000;
JSON
{
  "hex": "#151a12",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 97.5,
    "s": 18.182,
    "l": 8.627
  },
  "oklch": {
    "l": 0.20961,
    "c": 0.01713,
    "h": 133.9
  },
  "luminance": 0.00942
}

Semantic roles & 50–950 ramp

primary
#151A12
secondary
#463B4D
accent
#6DBB9E
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020302
muted
#787878

Preview Lab

Preview with #151A12

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

Preview Lab → · Contrast checker → · Palette generator →

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