#151B03#151B03

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

Color values

HEX#151B03
RGBrgb(21, 27, 3)
HSLhsl(75, 80%, 6%)
HSVhsv(75, 89%, 11%)
CMYKcmyk(22.2%, 0%, 88.9%, 89.4%)
CIE-LABlab(8.57, -7.53, 11.46)
CIE-LCHlch(8.57, 13.71, 123.32°)
OKLaboklab(20.91% -0.0228 0.0374)
OKLCHoklch(20.91% 0.044 121.4)
XYZxyz(0.7176, 0.9499, 0.2317)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B03 #09031B
analogous
#1B1503 #151B03 #091B03
triadic
#151B03 #03151B #1B0315
tetradic
#151B03 #031B15 #09031B #1B0309
square
#151B03 #031B15 #09031B #1B0309
split-complementary
#151B03 #03091B #15031B
monochromatic
#151C03 #151C03 #151C03 #405209 #6B890F

Accessibility & contrast

On white

17.65
#151B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#151B03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B03
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B03#FFFFFF#000000##FFFFFF
##151B031.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1901
Deuteranopia (green-blind)
#1D1904
Tritanopia (blue-blind)
#171916
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #151b03;
/* rgb */ color: rgb(21, 27, 3);
/* oklch */ color: oklch(20.9% 0.044 121.4);
Tailwind
colors: {
  custom: {
    50: '#515748',
    500: '#151b03',
    950: '#000000',
  },
}
SCSS
$custom: #151b03;
$custom-light: #515748;
$custom-dark: #000000;
JSON
{
  "hex": "#151b03",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 3
  },
  "hsl": {
    "h": 75,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20911,
    "c": 0.04378,
    "h": 121.4
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#151B03
secondary
#2C1B5F
accent
#31F663
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151B03

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

Preview Lab → · Contrast checker → · Palette generator →

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