#40511A

Closest named color: Navy Green (#35530A). oklch(40.8% 0.082 124.5), rgb(64, 81, 26).

Aa

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

About this color

#40511A is a dark, moderately saturated brown. In OKLCH its lightness is 41%, its chroma 0.082 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.023 away. White text reads best on it, at 8.71:1.

Hue familyBrowns
Lightnessdark (41%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.40:1
White text8.71:1

Values

HEX#40511A
RGBrgb(64, 81, 26)
HSLhsl(79, 51%, 21%)
OKLCHoklch(40.8% 0.082 124.5)

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 #40511A 8.71:1 AAA Lc -94.3 Preferred for body text
Black text on #40511A 2.40:1 Fails Lc 14.2 Not readable
#40511A text on white 8.71:1 AAA Lc 89.8 Fine for body text
#40511A text on black 2.40:1 Fails Lc -12.5 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 800.

  1. Step 50

    50

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E8ECE2

    oklch(93.7% 0.014 124.6)

  3. Step 200

    200

    #D5DCCA

    oklch(88.4% 0.025 124.3)

  4. Step 300

    300

    #BAC6A5

    oklch(80.8% 0.047 123.7)

  5. Step 400

    400

    #96A974

    oklch(70.7% 0.076 124.3)

  6. Step 500

    500

    #7C944F

    oklch(63.1% 0.099 124.9)

  7. Step 600

    600

    #667E32

    oklch(55.7% 0.106 124.5)

  8. Step 700

    700

    #546A24

    oklch(49.1% 0.099 124.8)

  9. Step 800

    800 (this color)

    #40511A

    oklch(40.8% 0.082 124.5)

  10. Step 900

    900

    #3A471F

    oklch(37.6% 0.064 124.3)

  11. Step 950

    950

    #222A13

    oklch(27% 0.041 124.8)

Export this scale for Tailwind in the Tailwind colors tool

#40511A 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)#564C130.036
Deuteranopia (no green cones)#534B1E0.036
Tritanopia (no blue cones)#434D450.066
Achromatopsia (no color)#4B4B4B0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #40511A

    #40511A

    oklch(40.8% 0.082 124.5)

  • #543D6D

    #543D6D

    oklch(40.7% 0.082 305.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40511A

    #40511A

    oklch(40.8% 0.082 124.5)

  • #584803

    #584803

    oklch(40.6% 0.082 94)

  • #1D5635

    #1D5635

    oklch(40.6% 0.082 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #40511A

    #40511A

    oklch(40.8% 0.082 124.5)

  • #3D4576

    #3D4576

    oklch(40.7% 0.083 275.1)

  • #64385C

    #64385C

    oklch(40.8% 0.081 333.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40511A

    #40511A

    oklch(40.8% 0.082 124.5)

  • #1C4E73

    #1C4E73

    oklch(40.9% 0.082 244.3)

  • #6E3544

    #6E3544

    oklch(40.8% 0.082 4.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40511A

    #40511A

    oklch(40.8% 0.082 124.5)

  • #005362

    #005362

    oklch(40.7% 0.072 215.3)

  • #543D6D

    #543D6D

    oklch(40.7% 0.082 305.1)

  • #6F382A

    #6F382A

    oklch(40.8% 0.082 35.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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