#312317

Closest named color: Dark Brown (#341C02). oklch(26.9% 0.03 61.6), rgb(49, 35, 23).

Aa

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

About this color

#312317 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.030. 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.18:1.

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

Values

HEX#312317
RGBrgb(49, 35, 23)
HSLhsl(28, 36%, 14%)
OKLCHoklch(26.9% 0.03 61.6)

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 #312317 15.18:1 AAA Lc -104.8 Preferred for body text
Black text on #312317 1.38:1 Fails Lc 0.0 Not readable
#312317 text on white 15.18:1 AAA Lc 102.0 Preferred for body text
#312317 text on black 1.38: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

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #EFE8E3

    oklch(93.5% 0.01 58.2)

  3. Step 200

    200

    #E3D7CC

    oklch(88.6% 0.02 65.1)

  4. Step 300

    300

    #D2BCAA

    oklch(80.9% 0.035 61.6)

  5. Step 400

    400

    #BB997D

    oklch(70.7% 0.056 61.2)

  6. Step 500

    500

    #AA805C

    oklch(63.2% 0.072 61.6)

  7. Step 600

    600

    #956841

    oklch(55.5% 0.079 61)

  8. Step 700

    700

    #7F5733

    oklch(49.2% 0.074 61.8)

  9. Step 800

    800

    #67472B

    oklch(42.7% 0.061 61.3)

  10. Step 900

    900

    #543C27

    oklch(37.8% 0.047 61.8)

  11. Step 950

    950 (this color)

    #312317

    oklch(26.9% 0.03 61.6)

Export this scale for Tailwind in the Tailwind colors tool

#312317 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)#2724160.020
Deuteranopia (no green cones)#2B27170.017
Tritanopia (no blue cones)#3520200.023
Achromatopsia (no color)#2626260.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #312317

    #312317

    oklch(26.9% 0.03 61.6)

  • #192834

    #192834

    oklch(26.9% 0.03 243.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312317

    #312317

    oklch(26.9% 0.03 61.6)

  • #33211D

    #33211D

    oklch(26.9% 0.029 33)

  • #2C2615

    #2C2615

    oklch(27% 0.03 90.8)

Open the analogous palette in the generator

Split complementary

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

  • #312317

    #312317

    oklch(26.9% 0.03 61.6)

  • #132A2F

    #132A2F

    oklch(26.9% 0.03 213.4)

  • #212635

    #212635

    oklch(27.1% 0.029 270.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312317

    #312317

    oklch(26.9% 0.03 61.6)

  • #142B27

    #142B27

    oklch(26.9% 0.03 181.4)

  • #292333

    #292333

    oklch(27% 0.03 301.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312317

    #312317

    oklch(26.9% 0.03 61.6)

  • #1B2B1F

    #1B2B1F

    oklch(27.1% 0.031 151.7)

  • #192834

    #192834

    oklch(26.9% 0.03 243.3)

  • #2F212D

    #2F212D

    oklch(27% 0.03 331.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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