#151F00#151F00

#151F00 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 22.1% C 0.056 H 125.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#151F00
RGBrgb(21, 31, 0)
HSLhsl(79, 100%, 6%)
HSVhsv(79, 100%, 12%)
CMYKcmyk(32.3%, 0%, 100%, 87.8%)
CIE-LABlab(10.10, -10.80, 14.88)
CIE-LCHlch(10.10, 18.38, 125.99°)
OKLaboklab(22.14% -0.0319 0.0456)
OKLCHoklch(22.14% 0.056 125)
XYZxyz(0.7993, 1.1394, 0.1778)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F00 #0A001F
analogous
#1F1900 #151F00 #051F00
triadic
#151F00 #00151F #1F0015
tetradic
#151F00 #001F19 #0A001F #1F0005
square
#151F00 #001F19 #0A001F #1F0005
split-complementary
#151F00 #00051F #19001F
monochromatic
#151F00 #151F00 #151F00 #3E5C00 #689900

Accessibility & contrast

On white

17.10
#151F00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151F00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F00
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F00#FFFFFF#000000##FFFFFF
##151F001.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C00
Deuteranopia (green-blind)
#201C02
Tritanopia (blue-blind)
#171D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151f00;
/* rgb */ color: rgb(21, 31, 0);
/* oklch */ color: oklch(22.1% 0.056 125.0);
Tailwind
colors: {
  custom: {
    50: '#515a46',
    500: '#151f00',
    950: '#000000',
  },
}
SCSS
$custom: #151f00;
$custom-light: #515a46;
$custom-dark: #000000;
JSON
{
  "hex": "#151f00",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 0
  },
  "hsl": {
    "h": 79.355,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.22137,
    "c": 0.05563,
    "h": 125
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#151F00
secondary
#2E1268
accent
#29FF6E
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#020400
muted
#787977

Preview Lab

Preview with #151F00

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

Preview Lab → · Contrast checker → · Palette generator →

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