#151A02#151A02

#151A02 is a very dark, muted yellow-green. Relative luminance 0.009; OKLCH L 20.6% C 0.044 H 119.5°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#151A02
RGBrgb(21, 26, 2)
HSLhsl(73, 86%, 5%)
HSVhsv(73, 92%, 10%)
CMYKcmyk(19.2%, 0%, 92.3%, 89.8%)
CIE-LABlab(8.15, -6.89, 11.26)
CIE-LCHlch(8.15, 13.20, 121.46°)
OKLaboklab(20.57% -0.0217 0.0383)
OKLCHoklch(20.57% 0.044 119.5)
XYZxyz(0.6896, 0.9026, 0.1953)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A02 #07021A
analogous
#1A1302 #151A02 #091A02
triadic
#151A02 #02151A #1A0215
tetradic
#151A02 #021A13 #07021A #1A0209
square
#151A02 #021A13 #07021A #1A0209
split-complementary
#151A02 #02091A #13021A
monochromatic
#171C02 #171C02 #171C02 #435306 #718C0B

Accessibility & contrast

On white

17.79
#151A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#151A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A02
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A02#FFFFFF#000000##FFFFFF
##151A021.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1800
Deuteranopia (green-blind)
#1C1803
Tritanopia (blue-blind)
#171815
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #151a02;
/* rgb */ color: rgb(21, 26, 2);
/* oklch */ color: oklch(20.6% 0.044 119.5);
Tailwind
colors: {
  custom: {
    50: '#515647',
    500: '#151a02',
    950: '#000000',
  },
}
SCSS
$custom: #151a02;
$custom-light: #515647;
$custom-dark: #000000;
JSON
{
  "hex": "#151a02",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 2
  },
  "hsl": {
    "h": 72.5,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.20571,
    "c": 0.04407,
    "h": 119.5
  },
  "luminance": 0.00903
}

Semantic roles & 50–950 ramp

primary
#151A02
secondary
#271860
accent
#2CFC57
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151A02

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

Preview Lab → · Contrast checker → · Palette generator →

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