#151F17#151F17

#151F17 is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.7% C 0.021 H 150.5°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#151F17
RGBrgb(21, 31, 23)
HSLhsl(132, 19%, 10%)
HSVhsv(132, 32%, 12%)
CMYKcmyk(32.3%, 0%, 25.8%, 87.8%)
CIE-LABlab(10.57, -6.66, 4.03)
CIE-LCHlch(10.57, 7.78, 148.80°)
OKLaboklab(22.66% -0.0183 0.0104)
OKLCHoklch(22.66% 0.021 150.5)
XYZxyz(0.9539, 1.2012, 0.9920)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F17 #1F151D
analogous
#181F15 #151F17 #151F1C
triadic
#151F17 #17151F #1F1715
tetradic
#151F17 #15181F #1F151D #1F1C15
square
#151F17 #15181F #1F151D #1F1C15
split-complementary
#151F17 #1C151F #1F1518
monochromatic
#0C120E #0C120E #151F17 #2E4332 #46684D

Accessibility & contrast

On white

16.93
#151F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F17
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F17#FFFFFF#000000##FFFFFF
##151F171.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D17
Deuteranopia (green-blind)
#1D1C17
Tritanopia (blue-blind)
#141F1D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151f17;
/* rgb */ color: rgb(21, 31, 23);
/* oklch */ color: oklch(22.7% 0.021 150.5);
Tailwind
colors: {
  custom: {
    50: '#525a53',
    500: '#151f17',
    950: '#000000',
  },
}
SCSS
$custom: #151f17;
$custom-light: #525a53;
$custom-dark: #000000;
JSON
{
  "hex": "#151f17",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 132,
    "s": 19.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22662,
    "c": 0.02107,
    "h": 150.5
  },
  "luminance": 0.01201
}

Semantic roles & 50–950 ramp

primary
#151F17
secondary
#523E4E
accent
#6CACBC
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020302
muted
#787878

Preview Lab

Preview with #151F17

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

Preview Lab → · Contrast checker → · Palette generator →

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