#42302A

Closest named color: Onyx (#343A40). oklch(32.8% 0.029 39.2), rgb(66, 48, 42).

Aa

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

About this color

#42302A is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.044 away. White text reads best on it, at 12.44:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.68:1
White text12.44:1

Values

HEX#42302A
RGBrgb(66, 48, 42)
HSLhsl(15, 22%, 21%)
OKLCHoklch(32.8% 0.029 39.2)

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 #42302A 12.44:1 AAA Lc -101.7 Preferred for body text
Black text on #42302A 1.68:1 Fails Lc 0.0 Not readable
#42302A text on white 12.44:1 AAA Lc 98.3 Preferred for body text
#42302A text on black 1.68: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 900.

  1. Step 50

    50

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EEE8E7

    oklch(93.5% 0.007 28.8)

  3. Step 200

    200

    #E1D7D3

    oklch(88.6% 0.012 43.3)

  4. Step 300

    300

    #CEBCB7

    oklch(80.9% 0.022 36)

  5. Step 400

    400

    #B49A91

    oklch(70.7% 0.034 40)

  6. Step 500

    500

    #A28176

    oklch(63.2% 0.044 39.2)

  7. Step 600

    600

    #8C6A5F

    oklch(55.5% 0.047 38.7)

  8. Step 700

    700

    #77584E

    oklch(49% 0.044 38.6)

  9. Step 800

    800

    #614840

    oklch(42.6% 0.037 38.5)

  10. Step 900

    900 (this color)

    #42302A

    oklch(32.8% 0.029 39.2)

  11. Step 950

    950

    #2E2420

    oklch(27.1% 0.017 42.9)

Export this scale for Tailwind in the Tailwind colors tool

#42302A 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)#34322A0.026
Deuteranopia (no green cones)#38352A0.024
Tritanopia (no blue cones)#462D2E0.015
Achromatopsia (no color)#3434340.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #42302A

    #42302A

    oklch(32.8% 0.029 39.2)

  • #24383F

    #24383F

    oklch(32.7% 0.028 221.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42302A

    #42302A

    oklch(32.8% 0.029 39.2)

  • #422F32

    #422F32

    oklch(32.8% 0.028 8.2)

  • #3F3225

    #3F3225

    oklch(32.8% 0.029 66.5)

Open the analogous palette in the generator

Split complementary

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

  • #42302A

    #42302A

    oklch(32.8% 0.029 39.2)

  • #233A38

    #233A38

    oklch(32.9% 0.029 188.9)

  • #2A3643

    #2A3643

    oklch(32.8% 0.028 250.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42302A

    #42302A

    oklch(32.8% 0.029 39.2)

  • #283930

    #283930

    oklch(32.7% 0.027 161.3)

  • #323344

    #323344

    oklch(32.7% 0.03 282)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42302A

    #42302A

    oklch(32.8% 0.029 39.2)

  • #303828

    #303828

    oklch(32.8% 0.029 129.5)

  • #24383F

    #24383F

    oklch(32.7% 0.028 221.8)

  • #393140

    #393140

    oklch(32.8% 0.028 308.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42302A 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.