#151C02#151C02

#151C02 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.2% C 0.047 H 122.4°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#151C02
RGBrgb(21, 28, 2)
HSLhsl(76, 87%, 6%)
HSVhsv(76, 93%, 11%)
CMYKcmyk(25%, 0%, 92.9%, 89%)
CIE-LABlab(8.94, -8.42, 12.41)
CIE-LCHlch(8.94, 15.00, 124.17°)
OKLaboklab(21.21% -0.0253 0.0399)
OKLCHoklch(21.21% 0.047 122.4)
XYZxyz(0.7355, 0.9943, 0.2106)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C02 #09021C
analogous
#1C1602 #151C02 #081C02
triadic
#151C02 #02151C #1C0215
tetradic
#151C02 #021C16 #09021C #1C0208
square
#151C02 #021C16 #09021C #1C0208
split-complementary
#151C02 #02081C #16021C
monochromatic
#151D02 #151D02 #151D02 #405506 #6B8E0A

Accessibility & contrast

On white

17.52
#151C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C02
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C02#FFFFFF#000000##FFFFFF
##151C021.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A00
Deuteranopia (green-blind)
#1D1903
Tritanopia (blue-blind)
#171A16
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #151c02;
/* rgb */ color: rgb(21, 28, 2);
/* oklch */ color: oklch(21.2% 0.047 122.4);
Tailwind
colors: {
  custom: {
    50: '#515847',
    500: '#151c02',
    950: '#000000',
  },
}
SCSS
$custom: #151c02;
$custom-light: #515847;
$custom-dark: #000000;
JSON
{
  "hex": "#151c02",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 2
  },
  "hsl": {
    "h": 76.154,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.2121,
    "c": 0.04728,
    "h": 122.4
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#151C02
secondary
#2C1862
accent
#2BFD63
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151C02

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

Preview Lab → · Contrast checker → · Palette generator →

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