#151F04#151F04

#151F04 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 22.2% C 0.049 H 126.7°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#151F04
RGBrgb(21, 31, 4)
HSLhsl(82, 77%, 7%)
HSVhsv(82, 87%, 12%)
CMYKcmyk(32.3%, 0%, 87.1%, 87.8%)
CIE-LABlab(10.17, -10.19, 13.34)
CIE-LCHlch(10.17, 16.79, 127.39°)
OKLaboklab(22.21% -0.0292 0.0391)
OKLCHoklch(22.21% 0.049 126.7)
XYZxyz(0.8212, 1.1482, 0.2932)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F04 #0E041F
analogous
#1F1C04 #151F04 #081F04
triadic
#151F04 #04151F #1F0415
tetradic
#151F04 #041F1C #0E041F #1F0408
square
#151F04 #041F1C #0E041F #1F0408
split-complementary
#151F04 #04081F #1C041F
monochromatic
#121B03 #121B03 #151F04 #3A550B #5E8B12

Accessibility & contrast

On white

17.08
#151F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F04
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F04#FFFFFF#000000##FFFFFF
##151F041.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C02
Deuteranopia (green-blind)
#201C06
Tritanopia (blue-blind)
#161D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151f04;
/* rgb */ color: rgb(21, 31, 4);
/* oklch */ color: oklch(22.2% 0.049 126.7);
Tailwind
colors: {
  custom: {
    50: '#525a48',
    500: '#151f04',
    950: '#000000',
  },
}
SCSS
$custom: #151f04;
$custom-light: #525a48;
$custom-dark: #000000;
JSON
{
  "hex": "#151f04",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 4
  },
  "hsl": {
    "h": 82.222,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22213,
    "c": 0.04882,
    "h": 126.7
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#151F04
secondary
#371D62
accent
#34F47B
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #151F04

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

Preview Lab → · Contrast checker → · Palette generator →

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