#151B08#151B08

#151B08 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.0% C 0.035 H 123.8°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#151B08
RGBrgb(21, 27, 8)
HSLhsl(79, 54%, 7%)
HSVhsv(79, 70%, 11%)
CMYKcmyk(22.2%, 0%, 70.4%, 89.4%)
CIE-LABlab(8.66, -6.81, 9.56)
CIE-LCHlch(8.66, 11.73, 125.48°)
OKLaboklab(21.02% -0.0196 0.0293)
OKLCHoklch(21.02% 0.035 123.8)
XYZxyz(0.7450, 0.9608, 0.3759)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B08 #0E081B
analogous
#1B1808 #151B08 #0C1B08
triadic
#151B08 #08151B #1B0815
tetradic
#151B08 #081B18 #0E081B #1B080C
square
#151B08 #081B18 #0E081B #1B080C
split-complementary
#151B08 #080C1B #18081B
monochromatic
#121807 #121807 #151B08 #3A4A16 #5E7924

Accessibility & contrast

On white

17.61
#151B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B08
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B08#FFFFFF#000000##FFFFFF
##151B081.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1907
Deuteranopia (green-blind)
#1C1909
Tritanopia (blue-blind)
#161917
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #151b08;
/* rgb */ color: rgb(21, 27, 8);
/* oklch */ color: oklch(21.0% 0.035 123.8);
Tailwind
colors: {
  custom: {
    50: '#51574a',
    500: '#151b08',
    950: '#000000',
  },
}
SCSS
$custom: #151b08;
$custom-light: #51574a;
$custom-dark: #000000;
JSON
{
  "hex": "#151b08",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 8
  },
  "hsl": {
    "h": 78.947,
    "s": 54.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21018,
    "c": 0.03521,
    "h": 123.8
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#151B08
secondary
#372757
accent
#4ADE79
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #151B08

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

Preview Lab → · Contrast checker → · Palette generator →

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