#151A04#151A04

#151A04 is a very dark, muted yellow-green. Relative luminance 0.009; OKLCH L 20.6% C 0.040 H 120.2°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#151A04
RGBrgb(21, 26, 4)
HSLhsl(74, 73%, 6%)
HSVhsv(74, 85%, 10%)
CMYKcmyk(19.2%, 0%, 84.6%, 89.8%)
CIE-LABlab(8.19, -6.61, 10.50)
CIE-LCHlch(8.19, 12.41, 122.17°)
OKLaboklab(20.62% -0.0203 0.0348)
OKLCHoklch(20.62% 0.04 120.2)
XYZxyz(0.7006, 0.9070, 0.2530)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A04 #09041A
analogous
#1A1404 #151A04 #0A1A04
triadic
#151A04 #04151A #1A0415
tetradic
#151A04 #041A14 #09041A #1A040A
square
#151A04 #041A14 #09041A #1A040A
split-complementary
#151A04 #040A1A #14041A
monochromatic
#151B04 #151B04 #151B04 #404F0C #6B8414

Accessibility & contrast

On white

17.78
#151A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#151A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A04
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A04#FFFFFF#000000##FFFFFF
##151A041.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1802
Deuteranopia (green-blind)
#1C1805
Tritanopia (blue-blind)
#171815
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #151a04;
/* rgb */ color: rgb(21, 26, 4);
/* oklch */ color: oklch(20.6% 0.040 120.2);
Tailwind
colors: {
  custom: {
    50: '#515648',
    500: '#151a04',
    950: '#000000',
  },
}
SCSS
$custom: #151a04;
$custom-light: #515648;
$custom-dark: #000000;
JSON
{
  "hex": "#151a04",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 4
  },
  "hsl": {
    "h": 73.636,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20615,
    "c": 0.04022,
    "h": 120.2
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#151A04
secondary
#2C1E5C
accent
#38F062
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151A04

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

Preview Lab → · Contrast checker → · Palette generator →

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