#151D08#151D08

#151D08 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 21.7% C 0.039 H 126.6°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#151D08
RGBrgb(21, 29, 8)
HSLhsl(83, 57%, 7%)
HSVhsv(83, 72%, 11%)
CMYKcmyk(27.6%, 0%, 72.4%, 88.6%)
CIE-LABlab(9.45, -8.26, 10.69)
CIE-LCHlch(9.45, 13.50, 127.69°)
OKLaboklab(21.65% -0.0233 0.0313)
OKLCHoklch(21.65% 0.039 126.6)
XYZxyz(0.7925, 1.0557, 0.3917)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D08 #10081D
analogous
#1D1B08 #151D08 #0B1D08
triadic
#151D08 #08151D #1D0815
tetradic
#151D08 #081D1B #10081D #1D080B
square
#151D08 #081D1B #10081D #1D080B
split-complementary
#151D08 #080B1D #1B081D
monochromatic
#111807 #111807 #151D08 #384D15 #5A7D22

Accessibility & contrast

On white

17.34
#151D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D08
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D08#FFFFFF#000000##FFFFFF
##151D081.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151d08;
/* rgb */ color: rgb(21, 29, 8);
/* oklch */ color: oklch(21.7% 0.039 126.6);
Tailwind
colors: {
  custom: {
    50: '#52594a',
    500: '#151d08',
    950: '#000000',
  },
}
SCSS
$custom: #151d08;
$custom-light: #52594a;
$custom-dark: #000000;
JSON
{
  "hex": "#151d08",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 8
  },
  "hsl": {
    "h": 82.857,
    "s": 56.757,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21651,
    "c": 0.03902,
    "h": 126.6
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#151D08
secondary
#3A275A
accent
#48E082
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #151D08

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

Preview Lab → · Contrast checker → · Palette generator →

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