#40472A

Closest named color: Dark Olive (#373E02). oklch(38.3% 0.047 119.7), rgb(64, 71, 42).

Aa

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

About this color

#40472A is a dark, muted brown. In OKLCH its lightness is 38%, its chroma 0.047 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.049 away. White text reads best on it, at 9.75:1.

Hue familyBrowns
Lightnessdark (38%)
Chromamuted (0.047)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text2.15:1
White text9.75:1

Values

HEX#40472A
RGBrgb(64, 71, 42)
HSLhsl(74, 26%, 22%)
OKLCHoklch(38.3% 0.047 119.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 #40472A 9.75:1 AAA Lc -96.8 Preferred for body text
Black text on #40472A 2.15:1 Fails Lc 11.3 Not readable
#40472A text on white 9.75:1 AAA Lc 92.6 Preferred for body text
#40472A text on black 2.15:1 Fails Lc -9.8 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE3

    oklch(93.6% 0.011 118)

  3. Step 200

    200

    #D7DBCD

    oklch(88.4% 0.019 119.8)

  4. Step 300

    300

    #BDC4AB

    oklch(80.8% 0.035 119.9)

  5. Step 400

    400

    #9CA67F

    oklch(70.7% 0.056 119.5)

  6. Step 500

    500

    #84905E

    oklch(63.1% 0.072 119.5)

  7. Step 600

    600

    #6E7A44

    oklch(55.6% 0.078 119.3)

  8. Step 700

    700

    #5C6736

    oklch(49.2% 0.072 119.5)

  9. Step 800

    800

    #4B542D

    oklch(42.8% 0.06 119.6)

  10. Step 900

    900 (this color)

    #40472A

    oklch(38.3% 0.047 119.7)

  11. Step 950

    950

    #252918

    oklch(27.2% 0.03 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#40472A 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)#4A44280.018
Deuteranopia (no green cones)#4A442B0.019
Tritanopia (no blue cones)#4344400.040
Achromatopsia (no color)#4444440.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #40472A

    #40472A

    oklch(38.3% 0.047 119.7)

  • #473E59

    #473E59

    oklch(38.4% 0.046 299.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40472A

    #40472A

    oklch(38.3% 0.047 119.7)

  • #4D4225

    #4D4225

    oklch(38.3% 0.047 89.4)

  • #314A36

    #314A36

    oklch(38.2% 0.046 150)

Open the analogous palette in the generator

Split complementary

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

  • #40472A

    #40472A

    oklch(38.3% 0.047 119.7)

  • #39425D

    #39425D

    oklch(38.3% 0.048 269.9)

  • #523A4F

    #523A4F

    oklch(38.3% 0.047 330.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40472A

    #40472A

    oklch(38.3% 0.047 119.7)

  • #2B475A

    #2B475A

    oklch(38.4% 0.047 239.3)

  • #583942

    #583942

    oklch(38.4% 0.046 0.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40472A

    #40472A

    oklch(38.3% 0.047 119.7)

  • #214A51

    #214A51

    oklch(38.3% 0.047 210)

  • #473E59

    #473E59

    oklch(38.4% 0.046 299.5)

  • #5A3A34

    #5A3A34

    oklch(38.4% 0.047 31)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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