#151F18#151F18

#151F18 is a very dark, near-neutral green. Relative luminance 0.012; OKLCH L 22.7% C 0.020 H 154.1°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#151F18
RGBrgb(21, 31, 24)
HSLhsl(138, 19%, 10%)
HSVhsv(138, 32%, 12%)
CMYKcmyk(32.3%, 0%, 22.6%, 87.8%)
CIE-LABlab(10.60, -6.41, 3.34)
CIE-LCHlch(10.60, 7.23, 152.44°)
OKLaboklab(22.7% -0.0177 0.0086)
OKLCHoklch(22.7% 0.02 154.1)
XYZxyz(0.9641, 1.2053, 1.0458)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F18 #1F151C
analogous
#171F15 #151F18 #151F1D
triadic
#151F18 #18151F #1F1815
tetradic
#151F18 #15171F #1F151C #1F1D15
square
#151F18 #15171F #1F151C #1F1D15
split-complementary
#151F18 #1D151F #1F1517
monochromatic
#0C120E #0C120E #151F18 #2E4334 #466850

Accessibility & contrast

On white

16.92
#151F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#151F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F18
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F18#FFFFFF#000000##FFFFFF
##151F181.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D18
Deuteranopia (green-blind)
#1D1C18
Tritanopia (blue-blind)
#131F1D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151f18;
/* rgb */ color: rgb(21, 31, 24);
/* oklch */ color: oklch(22.7% 0.020 154.1);
Tailwind
colors: {
  custom: {
    50: '#525a54',
    500: '#151f18',
    950: '#000000',
  },
}
SCSS
$custom: #151f18;
$custom-light: #525a54;
$custom-dark: #000000;
JSON
{
  "hex": "#151f18",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 138,
    "s": 19.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22696,
    "c": 0.01974,
    "h": 154.1
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#151F18
secondary
#523E4C
accent
#6CA4BC
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020302
muted
#787878

Preview Lab

Preview with #151F18

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

Preview Lab → · Contrast checker → · Palette generator →

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