#151F0F#151F0F

#151F0F is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.4% C 0.033 H 134.4°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#151F0F
RGBrgb(21, 31, 15)
HSLhsl(98, 35%, 9%)
HSVhsv(98, 52%, 12%)
CMYKcmyk(32.3%, 0%, 51.6%, 87.8%)
CIE-LABlab(10.36, -8.43, 8.83)
CIE-LCHlch(10.36, 12.21, 133.66°)
OKLaboklab(22.43% -0.023 0.0235)
OKLCHoklch(22.43% 0.033 134.4)
XYZxyz(0.8855, 1.1739, 0.6318)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F0F #190F1F
analogous
#1D1F0F #151F0F #0F1F11
triadic
#151F0F #0F151F #1F0F15
tetradic
#151F0F #0F1D1F #190F1F #1F110F
square
#151F0F #0F1D1F #190F1F #1F110F
split-complementary
#151F0F #110F1F #1F0F1D
monochromatic
#0E150A #0E150A #151F0F #314823 #4D7137

Accessibility & contrast

On white

17.01
#151F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F0F
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F0F#FFFFFF#000000##FFFFFF
##151F0F1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D0E
Deuteranopia (green-blind)
#1F1C10
Tritanopia (blue-blind)
#151E1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151f0f;
/* rgb */ color: rgb(21, 31, 15);
/* oklch */ color: oklch(22.4% 0.033 134.4);
Tailwind
colors: {
  custom: {
    50: '#525a4e',
    500: '#151f0f',
    950: '#000000',
  },
}
SCSS
$custom: #151f0f;
$custom-light: #525a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#151f0f",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 15
  },
  "hsl": {
    "h": 97.5,
    "s": 34.783,
    "l": 9.02
  },
  "oklch": {
    "l": 0.22432,
    "c": 0.03292,
    "h": 134.4
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#151F0F
secondary
#493456
accent
#5DCBA2
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #151F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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