#40270A

Closest named color: Chocolate Brown (#411900). oklch(29.8% 0.056 66.2), rgb(64, 39, 10).

Aa

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

About this color

#40270A is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.056 and its hue 66°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.038 away. White text reads best on it, at 13.88:1.

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.51:1
White text13.88:1

Values

HEX#40270A
RGBrgb(64, 39, 10)
HSLhsl(32, 73%, 15%)
OKLCHoklch(29.8% 0.056 66.2)

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 #40270A 13.88:1 AAA Lc -103.4 Preferred for body text
Black text on #40270A 1.51:1 Fails Lc 0.0 Not readable
#40270A text on white 13.88:1 AAA Lc 100.3 Preferred for body text
#40270A text on black 1.51: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

    #FAF4EF

    oklch(97% 0.009 62.6)

  2. Step 100

    100

    #F3E8DD

    oklch(93.7% 0.019 67.6)

  3. Step 200

    200

    #EAD5C0

    oklch(88.5% 0.037 67.3)

  4. Step 300

    300

    #DFB994

    oklch(81% 0.066 65.9)

  5. Step 400

    400

    #CD9355

    oklch(70.7% 0.106 66.5)

  6. Step 500

    500

    #BF7612

    oklch(63% 0.135 66.3)

  7. Step 600

    600

    #A36200

    oklch(55.6% 0.124 66.2)

  8. Step 700

    700

    #895200

    oklch(49.1% 0.109 66.6)

  9. Step 800

    800

    #714200

    oklch(42.6% 0.095 65.8)

  10. Step 900

    900

    #5F3700

    oklch(37.8% 0.084 66.2)

  11. Step 950

    950 (this color)

    #40270A

    oklch(29.8% 0.056 66.2)

Export this scale for Tailwind in the Tailwind colors tool

#40270A 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)#2F29070.036
Deuteranopia (no green cones)#352F0B0.032
Tritanopia (no blue cones)#4721210.044
Achromatopsia (no color)#2C2C2C0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #40270A

    #40270A

    oklch(29.8% 0.056 66.2)

  • #133048

    #133048

    oklch(30% 0.056 246.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40270A

    #40270A

    oklch(29.8% 0.056 66.2)

  • #452219

    #452219

    oklch(29.8% 0.056 35.4)

  • #362D06

    #362D06

    oklch(29.9% 0.056 95.6)

Open the analogous palette in the generator

Split complementary

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

  • #40270A

    #40270A

    oklch(29.8% 0.056 66.2)

  • #00343E

    #00343E

    oklch(29.9% 0.053 214.9)

  • #262A49

    #262A49

    oklch(29.7% 0.056 276.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40270A

    #40270A

    oklch(29.8% 0.056 66.2)

  • #003631

    #003631

    oklch(29.9% 0.053 184.9)

  • #342543

    #342543

    oklch(29.6% 0.056 306.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40270A

    #40270A

    oklch(29.8% 0.056 66.2)

  • #113621

    #113621

    oklch(29.9% 0.057 155.6)

  • #133048

    #133048

    oklch(30% 0.056 246.1)

  • #3F2238

    #3F2238

    oklch(29.9% 0.056 336.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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