#40470D

Closest named color: Dark Olive (#373E02). oklch(37.9% 0.078 116.3), rgb(64, 71, 13).

Aa

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

About this color

#40470D is a dark, moderately saturated brown. In OKLCH its lightness is 38%, its chroma 0.078 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.034 away. White text reads best on it, at 9.88:1.

Hue familyBrowns
Lightnessdark (38%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text2.12:1
White text9.88:1

Values

HEX#40470D
RGBrgb(64, 71, 13)
HSLhsl(67, 69%, 16%)
OKLCHoklch(37.9% 0.078 116.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 #40470D 9.88:1 AAA Lc -97.0 Preferred for body text
Black text on #40470D 2.12:1 Fails Lc 11.1 Not readable
#40470D text on white 9.88:1 AAA Lc 92.8 Preferred for body text
#40470D text on black 2.12:1 Fails Lc -9.6 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 900.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D7DCC4

    oklch(88.4% 0.033 116.6)

  4. Step 300

    300

    #BEC69B

    oklch(80.9% 0.059 116.3)

  5. Step 400

    400

    #9DA862

    oklch(70.6% 0.094 116.2)

  6. Step 500

    500

    #869233

    oklch(63.1% 0.119 116.1)

  7. Step 600

    600

    #707C00

    oklch(55.7% 0.128 116.3)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900 (this color)

    #40470D

    oklch(37.9% 0.078 116.3)

  11. Step 950

    950

    #25290A

    oklch(26.9% 0.049 116)

Export this scale for Tailwind in the Tailwind colors tool

#40470D 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)#4D43030.023
Deuteranopia (no green cones)#4C43120.025
Tritanopia (no blue cones)#45423C0.069
Achromatopsia (no color)#4343430.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #40470D

    #40470D

    oklch(37.9% 0.078 116.3)

  • #463867

    #463867

    oklch(37.8% 0.079 296.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40470D

    #40470D

    oklch(37.9% 0.078 116.3)

  • #543F00

    #543F00

    oklch(38% 0.078 87.2)

  • #234D28

    #234D28

    oklch(37.9% 0.078 146.3)

Open the analogous palette in the generator

Split complementary

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

  • #40470D

    #40470D

    oklch(37.9% 0.078 116.3)

  • #2F406C

    #2F406C

    oklch(37.9% 0.079 266.7)

  • #573258

    #573258

    oklch(37.8% 0.078 326.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40470D

    #40470D

    oklch(37.9% 0.078 116.3)

  • #074866

    #074866

    oklch(38% 0.078 235.8)

  • #622F43

    #622F43

    oklch(37.9% 0.078 356.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40470D

    #40470D

    oklch(37.9% 0.078 116.3)

  • #004C53

    #004C53

    oklch(38% 0.065 205.4)

  • #463867

    #463867

    oklch(37.8% 0.079 296.1)

  • #66302B

    #66302B

    oklch(38% 0.079 26.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40470D 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.