#151B02

Closest named color: Dark Brown (#341C02). oklch(20.9% 0.046 121), rgb(21, 27, 2).

Aa

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

About this color

#151B02 is a very dark, muted brown. In OKLCH its lightness is 21%, its chroma 0.046 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.065 away. White text reads best on it, at 17.65:1.

Hue familyBrowns
Lightnessvery dark (21%)
Chromamuted (0.046)
Temperaturein between
Nearest nameDark Brown (#341C02)
Black text1.18:1
White text17.65:1

Values

HEX#151B02
RGBrgb(21, 27, 2)
HSLhsl(74, 86%, 6%)
OKLCHoklch(20.9% 0.046 121)

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 #151B02 17.65:1 AAA Lc -106.7 Preferred for body text
Black text on #151B02 1.18:1 Fails Lc 0.0 Not readable
#151B02 text on white 17.65:1 AAA Lc 104.4 Preferred for body text
#151B02 text on black 1.18: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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D6DDC7

    oklch(88.6% 0.03 121.4)

  4. Step 300

    300

    #BBC6A0

    oklch(80.8% 0.053 120.7)

  5. Step 400

    400

    #98A96B

    oklch(70.6% 0.087 121.1)

  6. Step 500

    500

    #809342

    oklch(63% 0.109 120.6)

  7. Step 600

    600

    #697D1E

    oklch(55.5% 0.12 121)

  8. Step 700

    700

    #586A0E

    oklch(49.2% 0.112 121)

  9. Step 800

    800

    #485611

    oklch(42.7% 0.092 120.7)

  10. Step 900

    900

    #3C4717

    oklch(37.7% 0.072 120.9)

  11. Step 950

    950 (this color)

    #151B02

    oklch(20.9% 0.046 121)

Export this scale for Tailwind in the Tailwind colors tool

#151B02 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)#1D19000.016
Deuteranopia (no green cones)#1D19030.017
Tritanopia (no blue cones)#1719160.039
Achromatopsia (no color)#1919190.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #151B02

    #151B02

    oklch(20.9% 0.046 121)

  • #1C1229

    #1C1229

    oklch(20.8% 0.046 302.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151B02

    #151B02

    oklch(20.9% 0.046 121)

  • #1F1700

    #1F1700

    oklch(20.9% 0.043 91.9)

  • #051E0D

    #051E0D

    oklch(21% 0.046 151.6)

Open the analogous palette in the generator

Split complementary

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

  • #151B02

    #151B02

    oklch(20.9% 0.046 121)

  • #10162D

    #10162D

    oklch(20.8% 0.047 270.9)

  • #241022

    #241022

    oklch(21.1% 0.045 330.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151B02

    #151B02

    oklch(20.9% 0.046 121)

  • #021A2B

    #021A2B

    oklch(20.9% 0.046 242.1)

  • #280E17

    #280E17

    oklch(20.8% 0.045 359.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151B02

    #151B02

    oklch(20.9% 0.046 121)

  • #001C21

    #001C21

    oklch(20.8% 0.036 210.8)

  • #1C1229

    #1C1229

    oklch(20.8% 0.046 302.7)

  • #2A0F0B

    #2A0F0B

    oklch(21% 0.046 30.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #151B02 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.