#404D1F

Closest named color: Navy Green (#35530A). oklch(39.7% 0.071 122.8), rgb(64, 77, 31).

Aa

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

About this color

#404D1F is a dark, moderately saturated brown. In OKLCH its lightness is 40%, its chroma 0.071 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.035 away. White text reads best on it, at 9.13:1.

Hue familyBrowns
Lightnessdark (40%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.29:1
White text9.13:1

Values

HEX#404D1F
RGBrgb(64, 77, 31)
HSLhsl(77, 43%, 21%)
OKLCHoklch(39.7% 0.071 122.8)

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 #404D1F 9.13:1 AAA Lc -95.3 Preferred for body text
Black text on #404D1F 2.29:1 Fails Lc 13.0 Not readable
#404D1F text on white 9.13:1 AAA Lc 91.0 Preferred for body text
#404D1F text on black 2.29:1 Fails Lc -11.4 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE1

    oklch(93.7% 0.015 123)

  3. Step 200

    200

    #D5DDC8

    oklch(88.6% 0.03 124)

  4. Step 300

    300

    #BAC7A1

    oklch(81% 0.054 122.9)

  5. Step 400

    400

    #97AA6E

    oklch(70.8% 0.085 122.9)

  6. Step 500

    500

    #7D9445

    oklch(63.1% 0.109 123)

  7. Step 600

    600

    #677E24

    oklch(55.6% 0.118 122.7)

  8. Step 700

    700

    #566A16

    oklch(49.1% 0.109 122.5)

  9. Step 800

    800

    #465716

    oklch(42.8% 0.091 123)

  10. Step 900

    900 (this color)

    #404D1F

    oklch(39.7% 0.071 122.8)

  11. Step 950

    950

    #222A10

    oklch(27% 0.045 123.5)

Export this scale for Tailwind in the Tailwind colors tool

#404D1F 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)#51481B0.030
Deuteranopia (no green cones)#5048220.031
Tritanopia (no blue cones)#4349430.059
Achromatopsia (no color)#4848480.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #404D1F

    #404D1F

    oklch(39.7% 0.071 122.8)

  • #4F3D66

    #4F3D66

    oklch(39.7% 0.071 303.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404D1F

    #404D1F

    oklch(39.7% 0.071 122.8)

  • #544612

    #544612

    oklch(39.8% 0.071 93.5)

  • #255234

    #255234

    oklch(39.8% 0.071 152.7)

Open the analogous palette in the generator

Split complementary

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

  • #404D1F

    #404D1F

    oklch(39.7% 0.071 122.8)

  • #3A446D

    #3A446D

    oklch(39.7% 0.071 272.4)

  • #5D3857

    #5D3857

    oklch(39.7% 0.07 332.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404D1F

    #404D1F

    oklch(39.7% 0.071 122.8)

  • #204B6A

    #204B6A

    oklch(39.8% 0.071 242.8)

  • #663643

    #663643

    oklch(39.8% 0.07 3.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404D1F

    #404D1F

    oklch(39.7% 0.071 122.8)

  • #00505D

    #00505D

    oklch(39.6% 0.069 213.3)

  • #4F3D66

    #4F3D66

    oklch(39.7% 0.071 303.6)

  • #68382E

    #68382E

    oklch(39.8% 0.071 32.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404D1F 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.