#405338

Closest named color: Pine (#2B5D34). oklch(41.8% 0.049 136.6), rgb(64, 83, 56).

Aa

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

About this color

#405338 is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.049 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.041 away. White text reads best on it, at 8.35:1.

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.049)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.51:1
White text8.35:1

Values

HEX#405338
RGBrgb(64, 83, 56)
HSLhsl(102, 19%, 27%)
OKLCHoklch(41.8% 0.049 136.6)

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 #405338 8.35:1 AAA Lc -93.4 Preferred for body text
Black text on #405338 2.51:1 Fails Lc 15.2 Dividers and decoration only
#405338 text on white 8.35:1 AAA Lc 88.8 Fine for body text
#405338 text on black 2.51:1 Fails Lc -13.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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E7EBE6

    oklch(93.6% 0.008 139.4)

  3. Step 200

    200

    #D4DCD1

    oklch(88.5% 0.017 137)

  4. Step 300

    300

    #B8C5B3

    oklch(80.8% 0.029 136.9)

  5. Step 400

    400

    #94A88B

    oklch(70.8% 0.047 135.9)

  6. Step 500

    500

    #79926F

    oklch(63.1% 0.059 136.8)

  7. Step 600

    600

    #627C57

    oklch(55.5% 0.063 136.6)

  8. Step 700

    700

    #516947

    oklch(49.2% 0.06 136.7)

  9. Step 800

    800 (this color)

    #405338

    oklch(41.8% 0.049 136.6)

  10. Step 900

    900

    #384632

    oklch(37.6% 0.038 136.4)

  11. Step 950

    950

    #21291D

    oklch(26.9% 0.024 135.3)

Export this scale for Tailwind in the Tailwind colors tool

#405338 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)#554F360.033
Deuteranopia (no green cones)#524D390.033
Tritanopia (no blue cones)#40514C0.035
Achromatopsia (no color)#4E4E4E0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #405338

    #405338

    oklch(41.8% 0.049 136.6)

  • #57445F

    #57445F

    oklch(41.7% 0.05 315.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405338

    #405338

    oklch(41.8% 0.049 136.6)

  • #504F2E

    #504F2E

    oklch(42% 0.05 106.9)

  • #315547

    #315547

    oklch(41.8% 0.048 167.3)

Open the analogous palette in the generator

Split complementary

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

  • #405338

    #405338

    oklch(41.8% 0.049 136.6)

  • #4A4967

    #4A4967

    oklch(41.9% 0.05 285.6)

  • #614252

    #614252

    oklch(41.9% 0.049 347.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405338

    #405338

    oklch(41.8% 0.049 136.6)

  • #3B4E68

    #3B4E68

    oklch(41.9% 0.05 256.4)

  • #654243

    #654243

    oklch(41.9% 0.049 17.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405338

    #405338

    oklch(41.8% 0.049 136.6)

  • #2D5261

    #2D5261

    oklch(41.7% 0.049 226.2)

  • #57445F

    #57445F

    oklch(41.7% 0.05 315.7)

  • #634435

    #634435

    oklch(41.7% 0.049 46.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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