#181F02

Closest named color: Dark Forest Green (#002D04). oklch(22.5% 0.05 121.5), rgb(24, 31, 2).

Aa

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

About this color

#181F02 is a very dark, muted brown. In OKLCH its lightness is 22%, its chroma 0.050 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.053 away. White text reads best on it, at 16.99:1.

Hue familyBrowns
Lightnessvery dark (22%)
Chromamuted (0.050)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.23:1
White text16.99:1

Values

HEX#181F02
RGBrgb(24, 31, 2)
HSLhsl(74, 88%, 6%)
OKLCHoklch(22.5% 0.05 121.5)

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 #181F02 16.99:1 AAA Lc -106.2 Preferred for body text
Black text on #181F02 1.23:1 Fails Lc 0.0 Not readable
#181F02 text on white 16.99:1 AAA Lc 103.8 Preferred for body text
#181F02 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D5DDC5

    oklch(88.5% 0.033 122.1)

  4. Step 300

    300

    #BAC79D

    oklch(80.9% 0.059 121.7)

  5. Step 400

    400

    #97AA65

    oklch(70.7% 0.096 121.4)

  6. Step 500

    500

    #7E9438

    oklch(63% 0.121 121.3)

  7. Step 600

    600

    #677E06

    oklch(55.5% 0.132 121.6)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465702

    oklch(42.7% 0.102 121.9)

  10. Step 900

    900

    #3B4810

    oklch(37.8% 0.08 121.7)

  11. Step 950

    950 (this color)

    #181F02

    oklch(22.5% 0.05 121.5)

Export this scale for Tailwind in the Tailwind colors tool

#181F02 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)#221C000.020
Deuteranopia (no green cones)#211C040.021
Tritanopia (no blue cones)#1A1D190.042
Achromatopsia (no color)#1C1C1C0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #181F02

    #181F02

    oklch(22.5% 0.05 121.5)

  • #20152F

    #20152F

    oklch(22.4% 0.051 302)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181F02

    #181F02

    oklch(22.5% 0.05 121.5)

  • #231B00

    #231B00

    oklch(22.5% 0.046 93.6)

  • #06220F

    #06220F

    oklch(22.5% 0.05 151.2)

Open the analogous palette in the generator

Split complementary

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

  • #181F02

    #181F02

    oklch(22.5% 0.05 121.5)

  • #131A33

    #131A33

    oklch(22.6% 0.05 270.2)

  • #291226

    #291226

    oklch(22.5% 0.05 332.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181F02

    #181F02

    oklch(22.5% 0.05 121.5)

  • #021E31

    #021E31

    oklch(22.5% 0.05 242)

  • #2E101A

    #2E101A

    oklch(22.4% 0.051 1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181F02

    #181F02

    oklch(22.5% 0.05 121.5)

  • #002026

    #002026

    oklch(22.4% 0.039 212.3)

  • #20152F

    #20152F

    oklch(22.4% 0.051 302)

  • #2F110C

    #2F110C

    oklch(22.3% 0.051 31.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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