#151B07#151B07

#151B07 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.0% C 0.037 H 123.2°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#151B07
RGBrgb(21, 27, 7)
HSLhsl(78, 59%, 7%)
HSVhsv(78, 74%, 11%)
CMYKcmyk(22.2%, 0%, 74.1%, 89.4%)
CIE-LABlab(8.64, -6.96, 9.94)
CIE-LCHlch(8.64, 12.13, 124.99°)
OKLaboklab(21% -0.0202 0.0308)
OKLCHoklch(21% 0.037 123.2)
XYZxyz(0.7395, 0.9586, 0.3470)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B07 #0D071B
analogous
#1B1707 #151B07 #0B1B07
triadic
#151B07 #07151B #1B0715
tetradic
#151B07 #071B17 #0D071B #1B070B
square
#151B07 #071B17 #0D071B #1B070B
split-complementary
#151B07 #070B1B #17071B
monochromatic
#131806 #131806 #151B07 #3B4C14 #617C20

Accessibility & contrast

On white

17.62
#151B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#151B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B07
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B07#FFFFFF#000000##FFFFFF
##151B071.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1906
Deuteranopia (green-blind)
#1C1908
Tritanopia (blue-blind)
#161916
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #151b07;
/* rgb */ color: rgb(21, 27, 7);
/* oklch */ color: oklch(21.0% 0.037 123.2);
Tailwind
colors: {
  custom: {
    50: '#51574a',
    500: '#151b07',
    950: '#000000',
  },
}
SCSS
$custom: #151b07;
$custom-light: #51574a;
$custom-dark: #000000;
JSON
{
  "hex": "#151b07",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 7
  },
  "hsl": {
    "h": 78,
    "s": 58.824,
    "l": 6.667
  },
  "oklch": {
    "l": 0.20996,
    "c": 0.03681,
    "h": 123.2
  },
  "luminance": 0.00959
}

Semantic roles & 50–950 ramp

primary
#151B07
secondary
#352559
accent
#46E275
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #151B07

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

Preview Lab → · Contrast checker → · Palette generator →

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