#181F07

Closest named color: Dark Brown (#341C02). oklch(22.5% 0.042 123.3), rgb(24, 31, 7).

Aa

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

About this color

#181F07 is a very dark, muted brown. In OKLCH its lightness is 23%, its chroma 0.042 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.056 away. White text reads best on it, at 16.96:1.

Hue familyBrowns
Lightnessvery dark (23%)
Chromamuted (0.042)
Temperaturein between
Nearest nameDark Brown (#341C02)
Black text1.23:1
White text16.96:1

Values

HEX#181F07
RGBrgb(24, 31, 7)
HSLhsl(78, 63%, 7%)
OKLCHoklch(22.5% 0.042 123.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 #181F07 16.96:1 AAA Lc -106.2 Preferred for body text
Black text on #181F07 1.23:1 Fails Lc 0.0 Not readable
#181F07 text on white 16.96:1 AAA Lc 103.8 Preferred for body text
#181F07 text on black 1.23: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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE1

    oklch(93.7% 0.015 123)

  3. Step 200

    200

    #D5DCC9

    oklch(88.4% 0.027 123.5)

  4. Step 300

    300

    #BAC6A3

    oklch(80.8% 0.05 122.9)

  5. Step 400

    400

    #97A971

    oklch(70.7% 0.08 122.9)

  6. Step 500

    500

    #7D944A

    oklch(63.1% 0.104 123.6)

  7. Step 600

    600

    #677E2B

    oklch(55.7% 0.112 123.3)

  8. Step 700

    700

    #556A1E

    oklch(49.1% 0.104 123.6)

  9. Step 800

    800

    #46561B

    oklch(42.6% 0.085 123)

  10. Step 900

    900

    #3B471C

    oklch(37.6% 0.067 122.6)

  11. Step 950

    950 (this color)

    #181F07

    oklch(22.5% 0.042 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#181F07 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)#211D050.017
Deuteranopia (no green cones)#201C080.018
Tritanopia (no blue cones)#1A1D1A0.036
Achromatopsia (no color)#1C1C1C0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #181F07

    #181F07

    oklch(22.5% 0.042 123.3)

  • #20172C

    #20172C

    oklch(22.7% 0.041 303)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181F07

    #181F07

    oklch(22.5% 0.042 123.3)

  • #231B02

    #231B02

    oklch(22.6% 0.043 92.1)

  • #0A2112

    #0A2112

    oklch(22.4% 0.041 153)

Open the analogous palette in the generator

Split complementary

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

  • #181F07

    #181F07

    oklch(22.5% 0.042 123.3)

  • #151A30

    #151A30

    oklch(22.5% 0.044 272.8)

  • #281424

    #281424

    oklch(22.6% 0.042 334.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181F07

    #181F07

    oklch(22.5% 0.042 123.3)

  • #081E2E

    #081E2E

    oklch(22.6% 0.042 243.1)

  • #2C131A

    #2C131A

    oklch(22.6% 0.042 3.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181F07

    #181F07

    oklch(22.5% 0.042 123.3)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

  • #20172C

    #20172C

    oklch(22.7% 0.041 303)

  • #2D140E

    #2D140E

    oklch(22.6% 0.043 34.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #181F07 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.