#151C07#151C07

#151C07 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.3% C 0.039 H 124.7°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#151C07
RGBrgb(21, 28, 7)
HSLhsl(80, 60%, 7%)
HSVhsv(80, 75%, 11%)
CMYKcmyk(25%, 0%, 75%, 89%)
CIE-LABlab(9.04, -7.69, 10.50)
CIE-LCHlch(9.04, 13.02, 126.23°)
OKLaboklab(21.31% -0.022 0.0318)
OKLCHoklch(21.31% 0.039 124.7)
XYZxyz(0.7629, 1.0053, 0.3548)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C07 #0E071C
analogous
#1C1907 #151C07 #0B1C07
triadic
#151C07 #07151C #1C0715
tetradic
#151C07 #071C19 #0E071C #1C070B
square
#151C07 #071C19 #0E071C #1C070B
split-complementary
#151C07 #070B1C #19071C
monochromatic
#121806 #121806 #151C07 #3A4D13 #5E7E1F

Accessibility & contrast

On white

17.49
#151C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#151C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C07
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C07#FFFFFF#000000##FFFFFF
##151C071.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151c07;
/* rgb */ color: rgb(21, 28, 7);
/* oklch */ color: oklch(21.3% 0.039 124.7);
Tailwind
colors: {
  custom: {
    50: '#51584a',
    500: '#151c07',
    950: '#000000',
  },
}
SCSS
$custom: #151c07;
$custom-light: #51584a;
$custom-dark: #000000;
JSON
{
  "hex": "#151c07",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 7
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21313,
    "c": 0.03868,
    "h": 124.7
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#151C07
secondary
#37255A
accent
#45E379
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #151C07

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

Preview Lab → · Contrast checker → · Palette generator →

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