#151F05#151F05

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

Color values

HEX#151F05
RGBrgb(21, 31, 5)
HSLhsl(83, 72%, 7%)
HSVhsv(83, 84%, 12%)
CMYKcmyk(32.3%, 0%, 83.9%, 87.8%)
CIE-LABlab(10.19, -10.04, 12.96)
CIE-LCHlch(10.19, 16.39, 127.78°)
OKLaboklab(22.23% -0.0286 0.0376)
OKLCHoklch(22.23% 0.047 127.2)
XYZxyz(0.8266, 1.1503, 0.3220)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F05 #0F051F
analogous
#1F1C05 #151F05 #081F05
triadic
#151F05 #05151F #1F0515
tetradic
#151F05 #051F1C #0F051F #1F0508
square
#151F05 #051F1C #0F051F #1F0508
split-complementary
#151F05 #05081F #1C051F
monochromatic
#121A04 #121A04 #151F05 #39540E #5C8816

Accessibility & contrast

On white

17.07
#151F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F05
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F05#FFFFFF#000000##FFFFFF
##151F051.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151f05;
/* rgb */ color: rgb(21, 31, 5);
/* oklch */ color: oklch(22.2% 0.047 127.2);
Tailwind
colors: {
  custom: {
    50: '#525a49',
    500: '#151f05',
    950: '#000000',
  },
}
SCSS
$custom: #151f05;
$custom-light: #525a49;
$custom-dark: #000000;
JSON
{
  "hex": "#151f05",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 5
  },
  "hsl": {
    "h": 83.077,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22231,
    "c": 0.04725,
    "h": 127.2
  },
  "luminance": 0.0115
}

Semantic roles & 50–950 ramp

primary
#151F05
secondary
#382060
accent
#39EF7F
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151F05

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

Preview Lab → · Contrast checker → · Palette generator →

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