#405117

Closest named color: Navy Green (#35530A). oklch(40.7% 0.085 124.1), rgb(64, 81, 23).

Aa

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

About this color

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

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

Values

HEX#405117
RGBrgb(64, 81, 23)
HSLhsl(78, 56%, 20%)
OKLCHoklch(40.7% 0.085 124.1)

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

  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

    #D5DDC9

    oklch(88.6% 0.028 124.8)

  4. Step 300

    300

    #BAC7A4

    oklch(81% 0.05 124.1)

  5. Step 400

    400

    #96A972

    oklch(70.6% 0.079 123.9)

  6. Step 500

    500

    #7D944C

    oklch(63.2% 0.102 123.8)

  7. Step 600

    600

    #667E2E

    oklch(55.7% 0.11 124.1)

  8. Step 700

    700

    #556A21

    oklch(49.1% 0.101 123.9)

  9. Step 800

    800 (this color)

    #405117

    oklch(40.7% 0.085 124.1)

  10. Step 900

    900

    #3A471E

    oklch(37.6% 0.065 124)

  11. Step 950

    950

    #222A12

    oklch(27% 0.042 124.3)

Export this scale for Tailwind in the Tailwind colors tool

#405117 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)#564C0F0.036
Deuteranopia (no green cones)#544B1B0.038
Tritanopia (no blue cones)#434D450.069
Achromatopsia (no color)#4B4B4B0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #405117

    #405117

    oklch(40.7% 0.085 124.1)

  • #543D6E

    #543D6E

    oklch(40.7% 0.084 304.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405117

    #405117

    oklch(40.7% 0.085 124.1)

  • #584800

    #584800

    oklch(40.6% 0.083 94.4)

  • #1B5734

    #1B5734

    oklch(40.8% 0.085 154.2)

Open the analogous palette in the generator

Split complementary

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

  • #405117

    #405117

    oklch(40.7% 0.085 124.1)

  • #3C4577

    #3C4577

    oklch(40.7% 0.085 274.3)

  • #65375C

    #65375C

    oklch(40.8% 0.084 334.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405117

    #405117

    oklch(40.7% 0.085 124.1)

  • #184E74

    #184E74

    oklch(40.8% 0.085 243.7)

  • #6E3444

    #6E3444

    oklch(40.6% 0.084 4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405117

    #405117

    oklch(40.7% 0.085 124.1)

  • #005361

    #005361

    oklch(40.7% 0.071 214)

  • #543D6E

    #543D6E

    oklch(40.7% 0.084 304.6)

  • #703729

    #703729

    oklch(40.8% 0.084 34.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405117 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.