#151F08#151F08

#151F08 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.3% C 0.043 H 128.9°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#151F08
RGBrgb(21, 31, 8)
HSLhsl(86, 59%, 8%)
HSVhsv(86, 74%, 12%)
CMYKcmyk(32.3%, 0%, 74.2%, 87.8%)
CIE-LABlab(10.24, -9.58, 11.80)
CIE-LCHlch(10.24, 15.20, 129.07°)
OKLaboklab(22.29% -0.0268 0.0333)
OKLCHoklch(22.29% 0.043 128.9)
XYZxyz(0.8431, 1.1569, 0.4086)
Luminance0.0116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F08 #12081F
analogous
#1F1D08 #151F08 #091F08
triadic
#151F08 #08151F #1F0815
tetradic
#151F08 #081F1D #12081F #1F0809
square
#151F08 #081F1D #12081F #1F0809
split-complementary
#151F08 #08091F #1D081F
monochromatic
#101806 #101806 #151F08 #365015 #578021

Accessibility & contrast

On white

17.05
#151F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F08
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F08#FFFFFF#000000##FFFFFF
##151F081.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C06
Deuteranopia (green-blind)
#1F1C09
Tritanopia (blue-blind)
#161D1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151f08;
/* rgb */ color: rgb(21, 31, 8);
/* oklch */ color: oklch(22.3% 0.043 128.9);
Tailwind
colors: {
  custom: {
    50: '#525a4a',
    500: '#151f08',
    950: '#000000',
  },
}
SCSS
$custom: #151f08;
$custom-light: #525a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#151f08",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 8
  },
  "hsl": {
    "h": 86.087,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22288,
    "c": 0.0428,
    "h": 128.9
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#151F08
secondary
#3E265C
accent
#46E28A
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #151F08

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

Preview Lab → · Contrast checker → · Palette generator →

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