#151A08#151A08

#151A08 is a very dark, muted yellow-green. Relative luminance 0.009; OKLCH L 20.7% C 0.033 H 122.0°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#151A08
RGBrgb(21, 26, 8)
HSLhsl(77, 53%, 7%)
HSVhsv(77, 69%, 10%)
CMYKcmyk(19.2%, 0%, 69.2%, 89.8%)
CIE-LABlab(8.27, -6.04, 8.99)
CIE-LCHlch(8.27, 10.83, 123.92°)
OKLaboklab(20.7% -0.0177 0.0282)
OKLCHoklch(20.7% 0.033 122)
XYZxyz(0.7225, 0.9157, 0.3684)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A08 #0D081A
analogous
#1A1608 #151A08 #0C1A08
triadic
#151A08 #08151A #1A0815
tetradic
#151A08 #081A16 #0D081A #1A080C
square
#151A08 #081A16 #0D081A #1A080C
split-complementary
#151A08 #080C1A #16081A
monochromatic
#131707 #131707 #151A08 #3B4916 #617825

Accessibility & contrast

On white

17.75
#151A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A08
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A08#FFFFFF#000000##FFFFFF
##151A081.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1807
Deuteranopia (green-blind)
#1B1809
Tritanopia (blue-blind)
#161816
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #151a08;
/* rgb */ color: rgb(21, 26, 8);
/* oklch */ color: oklch(20.7% 0.033 122.0);
Tailwind
colors: {
  custom: {
    50: '#51564a',
    500: '#151a08',
    950: '#000000',
  },
}
SCSS
$custom: #151a08;
$custom-light: #51564a;
$custom-dark: #000000;
JSON
{
  "hex": "#151a08",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 8
  },
  "hsl": {
    "h": 76.667,
    "s": 52.941,
    "l": 6.667
  },
  "oklch": {
    "l": 0.20703,
    "c": 0.0333,
    "h": 122
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#151A08
secondary
#352856
accent
#4BDC74
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #151A08

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

Preview Lab → · Contrast checker → · Palette generator →

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