#31301F

Closest named color: Pakistan Green (#283618). oklch(30.5% 0.029 105.1), rgb(49, 48, 31).

Aa

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

About this color

#31301F is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.030 away. White text reads best on it, at 13.34:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.57:1
White text13.34:1

Values

HEX#31301F
RGBrgb(49, 48, 31)
HSLhsl(57, 23%, 16%)
OKLCHoklch(30.5% 0.029 105.1)

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 #31301F 13.34:1 AAA Lc -102.9 Preferred for body text
Black text on #31301F 1.57:1 Fails Lc 0.0 Not readable
#31301F text on white 13.34:1 AAA Lc 99.8 Preferred for body text
#31301F text on black 1.57: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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DBDACC

    oklch(88.5% 0.019 103.5)

  4. Step 300

    300

    #C3C2A9

    oklch(80.8% 0.034 105.3)

  5. Step 400

    400

    #A5A37C

    oklch(70.7% 0.054 105.2)

  6. Step 500

    500

    #8F8C5A

    oklch(63% 0.069 105.3)

  7. Step 600

    600

    #7A763F

    oklch(55.6% 0.076 104.9)

  8. Step 700

    700

    #666331

    oklch(49.1% 0.07 105.6)

  9. Step 800

    800

    #54512A

    oklch(42.8% 0.058 104.7)

  10. Step 900

    900

    #454326

    oklch(37.7% 0.045 104.9)

  11. Step 950

    950 (this color)

    #31301F

    oklch(30.5% 0.029 105.1)

Export this scale for Tailwind in the Tailwind colors tool

#31301F 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)#332F1E0.004
Deuteranopia (no green cones)#3330200.004
Tritanopia (no blue cones)#342E2C0.026
Achromatopsia (no color)#2F2F2F0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #31301F

    #31301F

    oklch(30.5% 0.029 105.1)

  • #2D2D3D

    #2D2D3D

    oklch(30.4% 0.029 284.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31301F

    #31301F

    oklch(30.5% 0.029 105.1)

  • #382D1F

    #382D1F

    oklch(30.5% 0.029 73.1)

  • #293224

    #293224

    oklch(30.4% 0.027 134.5)

Open the analogous palette in the generator

Split complementary

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

  • #31301F

    #31301F

    oklch(30.5% 0.029 105.1)

  • #25303D

    #25303D

    oklch(30.5% 0.028 252.9)

  • #352B39

    #352B39

    oklch(30.6% 0.028 316.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31301F

    #31301F

    oklch(30.5% 0.029 105.1)

  • #1F323A

    #1F323A

    oklch(30.4% 0.029 226.3)

  • #3A2932

    #3A2932

    oklch(30.4% 0.029 345.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31301F

    #31301F

    oklch(30.5% 0.029 105.1)

  • #1D3434

    #1D3434

    oklch(30.6% 0.029 195.7)

  • #2D2D3D

    #2D2D3D

    oklch(30.4% 0.029 284.6)

  • #3C292A

    #3C292A

    oklch(30.4% 0.029 15.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31301F 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.