#302218

Closest named color: Dark Brown (#341C02). oklch(26.6% 0.028 56.7), rgb(48, 34, 24).

Aa

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

About this color

#302218 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.029 away. White text reads best on it, at 15.35:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.36:1
White text15.35:1

Values

HEX#302218
RGBrgb(48, 34, 24)
HSLhsl(25, 33%, 14%)
OKLCHoklch(26.6% 0.028 56.7)

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 #302218 15.35:1 AAA Lc -105.0 Preferred for body text
Black text on #302218 1.36:1 Fails Lc 0.0 Not readable
#302218 text on white 15.35:1 AAA Lc 102.2 Preferred for body text
#302218 text on black 1.36: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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E4

    oklch(93.5% 0.009 52.1)

  3. Step 200

    200

    #E3D6CE

    oklch(88.4% 0.018 54)

  4. Step 300

    300

    #D2BCAC

    oklch(80.9% 0.033 58.3)

  5. Step 400

    400

    #BB9981

    oklch(70.8% 0.053 56.9)

  6. Step 500

    500

    #A97F61

    oklch(63% 0.067 56.7)

  7. Step 600

    600

    #946848

    oklch(55.5% 0.073 56.6)

  8. Step 700

    700

    #7E5639

    oklch(49% 0.068 56.3)

  9. Step 800

    800

    #674730

    oklch(42.8% 0.056 56.3)

  10. Step 900

    900

    #543C2A

    oklch(37.8% 0.044 57.8)

  11. Step 950

    950 (this color)

    #302218

    oklch(26.6% 0.028 56.7)

Export this scale for Tailwind in the Tailwind colors tool

#302218 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)#2623170.020
Deuteranopia (no green cones)#2926180.019
Tritanopia (no blue cones)#341F1F0.020
Achromatopsia (no color)#2525250.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #302218

    #302218

    oklch(26.6% 0.028 56.7)

  • #182831

    #182831

    oklch(26.7% 0.027 233.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302218

    #302218

    oklch(26.6% 0.028 56.7)

  • #32201E

    #32201E

    oklch(26.6% 0.028 26.2)

  • #2B2515

    #2B2515

    oklch(26.6% 0.029 89.7)

Open the analogous palette in the generator

Split complementary

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

  • #302218

    #302218

    oklch(26.6% 0.028 56.7)

  • #14292C

    #14292C

    oklch(26.5% 0.027 207.4)

  • #1F2533

    #1F2533

    oklch(26.5% 0.028 266.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302218

    #302218

    oklch(26.6% 0.028 56.7)

  • #162A25

    #162A25

    oklch(26.6% 0.028 176.4)

  • #272332

    #272332

    oklch(26.7% 0.028 296.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302218

    #302218

    oklch(26.6% 0.028 56.7)

  • #1C291D

    #1C291D

    oklch(26.5% 0.028 146.7)

  • #182831

    #182831

    oklch(26.7% 0.027 233.8)

  • #2D212D

    #2D212D

    oklch(26.7% 0.028 326.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #302218 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.