#4C4E42

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.8% 0.019 114.9), rgb(76, 78, 66).

Aa

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

About this color

#4C4E42 is a dark close to neutral grey. In OKLCH its lightness is 42%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.042 away. White text reads best on it, at 8.48:1.

Hue familyNeutrals
Lightnessdark (42%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.47:1
White text8.48:1

Values

HEX#4C4E42
RGBrgb(76, 78, 66)
HSLhsl(70, 8%, 28%)
OKLCHoklch(41.8% 0.019 114.9)

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 #4C4E42 8.48:1 AAA Lc -93.8 Preferred for body text
Black text on #4C4E42 2.47:1 Fails Lc 14.8 Not readable
#4C4E42 text on white 8.48:1 AAA Lc 89.2 Fine for body text
#4C4E42 text on black 2.47:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE8

    oklch(93.6% 0.003 106.5)

  3. Step 200

    200

    #D9DAD5

    oklch(88.6% 0.007 115.7)

  4. Step 300

    300

    #C0C2B9

    oklch(81% 0.013 116.9)

  5. Step 400

    400

    #A0A295

    oklch(70.7% 0.019 114)

  6. Step 500

    500

    #898B7C

    oklch(63.1% 0.022 113.2)

  7. Step 600

    600

    #727565

    oklch(55.5% 0.024 115.8)

  8. Step 700

    700

    #606253

    oklch(49% 0.023 113.4)

  9. Step 800

    800 (this color)

    #4C4E42

    oklch(41.8% 0.019 114.9)

  10. Step 900

    900

    #41433A

    oklch(37.8% 0.015 117.3)

  11. Step 950

    950

    #262722

    oklch(27% 0.009 116.2)

Export this scale for Tailwind in the Tailwind colors tool

#4C4E42 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)#504D410.007
Deuteranopia (no green cones)#504D420.007
Tritanopia (no blue cones)#4D4D4B0.016
Achromatopsia (no color)#4D4D4D0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C4E42

    #4C4E42

    oklch(41.8% 0.019 114.9)

  • #4D4B56

    #4D4B56

    oklch(41.9% 0.018 293.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C4E42

    #4C4E42

    oklch(41.8% 0.019 114.9)

  • #514C41

    #514C41

    oklch(41.8% 0.019 86.5)

  • #465046

    #465046

    oklch(41.9% 0.021 145.2)

Open the analogous palette in the generator

Split complementary

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

  • #4C4E42

    #4C4E42

    oklch(41.8% 0.019 114.9)

  • #474D58

    #474D58

    oklch(41.9% 0.02 262.6)

  • #524953

    #524953

    oklch(41.8% 0.02 322.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C4E42

    #4C4E42

    oklch(41.8% 0.019 114.9)

  • #434F56

    #434F56

    oklch(42% 0.019 233.5)

  • #56484D

    #56484D

    oklch(41.8% 0.02 354.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C4E42

    #4C4E42

    oklch(41.8% 0.019 114.9)

  • #415052

    #415052

    oklch(41.9% 0.019 206.4)

  • #4D4B56

    #4D4B56

    oklch(41.9% 0.018 293.9)

  • #574947

    #574947

    oklch(41.9% 0.019 27.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4C4E42 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.