#151B02#151B02

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

Color values

HEX#151B02
RGBrgb(21, 27, 2)
HSLhsl(74, 86%, 6%)
HSVhsv(74, 93%, 11%)
CMYKcmyk(22.2%, 0%, 92.6%, 89.4%)
CIE-LABlab(8.55, -7.67, 11.84)
CIE-LCHlch(8.55, 14.10, 122.94°)
OKLaboklab(20.89% -0.0236 0.0391)
OKLCHoklch(20.89% 0.046 121)
XYZxyz(0.7122, 0.9477, 0.2028)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B02 #08021B
analogous
#1B1402 #151B02 #081B02
triadic
#151B02 #02151B #1B0215
tetradic
#151B02 #021B14 #08021B #1B0208
square
#151B02 #021B14 #08021B #1B0208
split-complementary
#151B02 #02081B #14021B
monochromatic
#161C02 #161C02 #161C02 #415406 #6E8D0A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##151B02#FFFFFF#000000##FFFFFF
##151B021.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)
#1D1900
Deuteranopia (green-blind)
#1D1903
Tritanopia (blue-blind)
#171916
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #151b02;
/* rgb */ color: rgb(21, 27, 2);
/* oklch */ color: oklch(20.9% 0.046 121.0);
Tailwind
colors: {
  custom: {
    50: '#515747',
    500: '#151b02',
    950: '#000000',
  },
}
SCSS
$custom: #151b02;
$custom-light: #515747;
$custom-dark: #000000;
JSON
{
  "hex": "#151b02",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 2
  },
  "hsl": {
    "h": 74.4,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.2089,
    "c": 0.04567,
    "h": 121
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#151B02
secondary
#291861
accent
#2BFC5E
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151B02

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

Preview Lab → · Contrast checker → · Palette generator →

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