#151D04#151D04

#151D04 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.6% C 0.045 H 124.5°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#151D04
RGBrgb(21, 29, 4)
HSLhsl(79, 76%, 6%)
HSVhsv(79, 86%, 11%)
CMYKcmyk(27.6%, 0%, 86.2%, 88.6%)
CIE-LABlab(9.38, -8.85, 12.21)
CIE-LCHlch(9.38, 15.08, 125.93°)
OKLaboklab(21.57% -0.0257 0.0374)
OKLCHoklch(21.57% 0.045 124.5)
XYZxyz(0.7705, 1.0469, 0.2763)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D04 #0C041D
analogous
#1D1904 #151D04 #091D04
triadic
#151D04 #04151D #1D0415
tetradic
#151D04 #041D19 #0C041D #1D0409
square
#151D04 #041D19 #0C041D #1D0409
split-complementary
#151D04 #04091D #19041D
monochromatic
#131B04 #131B04 #151D04 #3C530B #638913

Accessibility & contrast

On white

17.36
#151D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#151D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D04
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D04#FFFFFF#000000##FFFFFF
##151D041.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A02
Deuteranopia (green-blind)
#1E1A05
Tritanopia (blue-blind)
#161B18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #151d04;
/* rgb */ color: rgb(21, 29, 4);
/* oklch */ color: oklch(21.6% 0.045 124.5);
Tailwind
colors: {
  custom: {
    50: '#515948',
    500: '#151d04',
    950: '#000000',
  },
}
SCSS
$custom: #151d04;
$custom-light: #515948;
$custom-dark: #000000;
JSON
{
  "hex": "#151d04",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 4
  },
  "hsl": {
    "h": 79.2,
    "s": 75.758,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21571,
    "c": 0.04539,
    "h": 124.5
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#151D04
secondary
#321D5F
accent
#35F272
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151D04

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

Preview Lab → · Contrast checker → · Palette generator →

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