#38331A

Closest named color: Pakistan Green (#283618). oklch(31.9% 0.04 98.3), rgb(56, 51, 26).

Aa

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

About this color

#38331A is a dark, muted brown. In OKLCH its lightness is 32%, its chroma 0.040 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.029 away. White text reads best on it, at 12.67:1.

Hue familyBrowns
Lightnessdark (32%)
Chromamuted (0.040)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.65:1
White text12.67:1

Values

HEX#38331A
RGBrgb(56, 51, 26)
HSLhsl(50, 37%, 16%)
OKLCHoklch(31.9% 0.04 98.3)

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 #38331A 12.67:1 AAA Lc -102.0 Preferred for body text
Black text on #38331A 1.65:1 Fails Lc 0.0 Not readable
#38331A text on white 12.67:1 AAA Lc 98.7 Preferred for body text
#38331A text on black 1.65: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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C8C29F

    oklch(81% 0.048 99.3)

  5. Step 400

    400

    #ADA269

    oklch(70.8% 0.077 98.6)

  6. Step 500

    500

    #998A3E

    oklch(63.1% 0.098 98.3)

  7. Step 600

    600

    #847318

    oklch(55.5% 0.106 97.9)

  8. Step 700

    700

    #706107

    oklch(49.2% 0.099 98.3)

  9. Step 800

    800

    #5B4F0D

    oklch(42.7% 0.082 98.1)

  10. Step 900

    900

    #4A4215

    oklch(37.7% 0.064 99.2)

  11. Step 950

    950 (this color)

    #38331A

    oklch(31.9% 0.04 98.3)

Export this scale for Tailwind in the Tailwind colors tool

#38331A 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)#3732180.004
Deuteranopia (no green cones)#39341B0.004
Tritanopia (no blue cones)#3C302D0.036
Achromatopsia (no color)#3333330.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #38331A

    #38331A

    oklch(31.9% 0.04 98.3)

  • #2E3147

    #2E3147

    oklch(32% 0.039 277.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38331A

    #38331A

    oklch(31.9% 0.04 98.3)

  • #402F1B

    #402F1B

    oklch(31.9% 0.041 70.1)

  • #2D3720

    #2D3720

    oklch(32.1% 0.041 127.7)

Open the analogous palette in the generator

Split complementary

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

  • #38331A

    #38331A

    oklch(31.9% 0.04 98.3)

  • #223546

    #223546

    oklch(32.1% 0.039 246.4)

  • #382D43

    #382D43

    oklch(31.9% 0.041 307)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38331A

    #38331A

    oklch(31.9% 0.04 98.3)

  • #183840

    #183840

    oklch(32% 0.04 216.3)

  • #402B3A

    #402B3A

    oklch(32% 0.039 337.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38331A

    #38331A

    oklch(31.9% 0.04 98.3)

  • #173937

    #173937

    oklch(31.9% 0.04 190.2)

  • #2E3147

    #2E3147

    oklch(32% 0.039 277.9)

  • #452A2F

    #452A2F

    oklch(32% 0.041 7.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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