#151B12

Closest named color: Rich Black (#0D1B2A). oklch(21.3% 0.019 135.3), rgb(21, 27, 18).

Aa

White text reads best on this color (17.53:1).

About this color

#151B12 is a very dark close to neutral grey. In OKLCH its lightness is 21%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.048 away. White text reads best on it, at 17.53:1.

Hue familyNeutrals
Lightnessvery dark (21%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.53:1

Values

HEX#151B12
RGBrgb(21, 27, 18)
HSLhsl(100, 20%, 9%)
OKLCHoklch(21.3% 0.019 135.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #151B12 17.53:1 AAA Lc -106.6 Preferred for body text
Black text on #151B12 1.19:1 Fails Lc 0.0 Not readable
#151B12 text on white 17.53:1 AAA Lc 104.4 Preferred for body text
#151B12 text on black 1.19:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE6

    oklch(93.6% 0.007 132.4)

  3. Step 200

    200

    #D5DBD3

    oklch(88.5% 0.013 137.8)

  4. Step 300

    300

    #BAC4B6

    oklch(80.9% 0.022 136.6)

  5. Step 400

    400

    #97A68F

    oklch(70.7% 0.037 134.6)

  6. Step 500

    500

    #7D9074

    oklch(63% 0.046 135.6)

  7. Step 600

    600

    #667A5C

    oklch(55.5% 0.051 135.3)

  8. Step 700

    700

    #55674C

    oklch(49.1% 0.047 135.3)

  9. Step 800

    800

    #46543E

    oklch(42.7% 0.039 134.3)

  10. Step 900

    900

    #3B4535

    oklch(37.6% 0.03 133.8)

  11. Step 950

    950 (this color)

    #151B12

    oklch(21.3% 0.019 135.3)

Export this scale for Tailwind in the Tailwind colors tool

#151B12 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1C1A110.013
Deuteranopia (no green cones)#1B19120.013
Tritanopia (no blue cones)#151A190.015
Achromatopsia (no color)#1919190.019

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #151B12

    #151B12

    oklch(21.3% 0.019 135.3)

  • #1C161F

    #1C161F

    oklch(21.2% 0.02 314.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151B12

    #151B12

    oklch(21.3% 0.019 135.3)

  • #1A190F

    #1A190F

    oklch(21.1% 0.019 103)

  • #101C17

    #101C17

    oklch(21.3% 0.02 166.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #151B12

    #151B12

    oklch(21.3% 0.019 135.3)

  • #181822

    #181822

    oklch(21.4% 0.02 284.6)

  • #20151B

    #20151B

    oklch(21.2% 0.021 345.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151B12

    #151B12

    oklch(21.3% 0.019 135.3)

  • #131922

    #131922

    oklch(21.2% 0.02 258.3)

  • #211516

    #211516

    oklch(21.2% 0.02 13.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151B12

    #151B12

    oklch(21.3% 0.019 135.3)

  • #0F1B20

    #0F1B20

    oklch(21.3% 0.02 226)

  • #1C161F

    #1C161F

    oklch(21.2% 0.02 314.4)

  • #211611

    #211611

    oklch(21.3% 0.02 45.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #151B12, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #151B12 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.