#312D04

Closest named color: Pakistan Green (#283618). oklch(29.3% 0.058 103.7), rgb(49, 45, 4).

Aa

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

About this color

#312D04 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.058 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.032 away. White text reads best on it, at 13.92:1.

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.058)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.50:1
White text13.92:1

Values

HEX#312D04
RGBrgb(49, 45, 4)
HSLhsl(55, 85%, 10%)
OKLCHoklch(29.3% 0.058 103.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 #312D04 13.92:1 AAA Lc -103.5 Preferred for body text
Black text on #312D04 1.50:1 Fails Lc 0.0 Not readable
#312D04 text on white 13.92:1 AAA Lc 100.5 Preferred for body text
#312D04 text on black 1.50: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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #ECEBDC

    oklch(93.7% 0.02 103.7)

  3. Step 200

    200

    #DDDBBE

    oklch(88.5% 0.039 103.9)

  4. Step 300

    300

    #C8C390

    oklch(80.9% 0.068 103.1)

  5. Step 400

    400

    #ACA44D

    oklch(70.7% 0.109 104)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950 (this color)

    #312D04

    oklch(29.3% 0.058 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#312D04 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)#322B000.007
Deuteranopia (no green cones)#332D060.005
Tritanopia (no blue cones)#3629250.053
Achromatopsia (no color)#2C2C2C0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #312D04

    #312D04

    oklch(29.3% 0.058 103.7)

  • #292748

    #292748

    oklch(29.2% 0.059 284.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312D04

    #312D04

    oklch(29.3% 0.058 103.7)

  • #3D2704

    #3D2704

    oklch(29.3% 0.058 74)

  • #203213

    #203213

    oklch(29.3% 0.057 133.7)

Open the analogous palette in the generator

Split complementary

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

  • #312D04

    #312D04

    oklch(29.3% 0.058 103.7)

  • #162D48

    #162D48

    oklch(29.3% 0.058 253.6)

  • #362340

    #362340

    oklch(29.3% 0.057 313.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312D04

    #312D04

    oklch(29.3% 0.058 103.7)

  • #003140

    #003140

    oklch(29.1% 0.055 224.7)

  • #401F33

    #401F33

    oklch(29.2% 0.059 344.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312D04

    #312D04

    oklch(29.3% 0.058 103.7)

  • #003433

    #003433

    oklch(29.4% 0.05 192.7)

  • #292748

    #292748

    oklch(29.2% 0.059 284.9)

  • #441F23

    #441F23

    oklch(29.3% 0.057 14.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #312D04 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.