#646F40

Closest named color: Dark Moss Green (#606C38). oklch(52% 0.07 119.6), rgb(100, 111, 64).

Aa

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

About this color

#646F40 is a medium-dark, muted yellow. In OKLCH its lightness is 52%, its chroma 0.070 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Moss Green (#606C38), ΔE 0.014 away. White text reads best on it, at 5.39:1.

Hue familyYellows
Lightnessmedium-dark (52%)
Chromamuted (0.070)
Temperaturein between
Nearest nameDark Moss Green (#606C38)
Black text3.88:1
White text5.39:1

Values

HEX#646F40
RGBrgb(100, 111, 64)
HSLhsl(74, 27%, 34%)
OKLCHoklch(52% 0.07 119.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 #646F40 5.39:1 AA Lc -82.2 Fine for body text
Black text on #646F40 3.88:1 AA large text Lc 27.2 Dividers and decoration only
#646F40 text on white 5.39:1 AA Lc 76.9 Fine for body text
#646F40 text on black 3.88:1 AA large text Lc -24.9 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D7DBCE

    oklch(88.5% 0.018 120.7)

  4. Step 300

    300

    #BEC4AC

    oklch(80.9% 0.034 118.6)

  5. Step 400

    400

    #9CA680

    oklch(70.7% 0.054 119.8)

  6. Step 500

    500

    #849060

    oklch(63.1% 0.069 119.8)

  7. Step 600

    600

    #6E7A46

    oklch(55.6% 0.075 119.5)

  8. Step 700

    700 (this color)

    #646F40

    oklch(52% 0.07 119.6)

  9. Step 800

    800

    #4B542F

    oklch(42.8% 0.058 120.1)

  10. Step 900

    900

    #3F452A

    oklch(37.7% 0.044 118.8)

  11. Step 950

    950

    #252919

    oklch(27.2% 0.029 119.7)

Export this scale for Tailwind in the Tailwind colors tool

#646F40 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)#746A3C0.026
Deuteranopia (no green cones)#736A420.027
Tritanopia (no blue cones)#686A630.059
Achromatopsia (no color)#6A6A6A0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #646F40

    #646F40

    oklch(52% 0.07 119.6)

  • #6F608C

    #6F608C

    oklch(52.1% 0.07 299.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #646F40

    #646F40

    oklch(52% 0.07 119.6)

  • #796738

    #796738

    oklch(52% 0.069 89)

  • #4B7453

    #4B7453

    oklch(51.9% 0.069 149.6)

Open the analogous palette in the generator

Split complementary

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

  • #646F40

    #646F40

    oklch(52% 0.07 119.6)

  • #596792

    #596792

    oklch(52% 0.07 270)

  • #805A7C

    #805A7C

    oklch(52% 0.07 330.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #646F40

    #646F40

    oklch(52% 0.07 119.6)

  • #416E8D

    #416E8D

    oklch(51.9% 0.07 240.1)

  • #8A5868

    #8A5868

    oklch(52% 0.069 359.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #646F40

    #646F40

    oklch(52% 0.07 119.6)

  • #30747F

    #30747F

    oklch(52% 0.07 209.7)

  • #6F608C

    #6F608C

    oklch(52.1% 0.07 299.6)

  • #8D5A51

    #8D5A51

    oklch(52.1% 0.069 30.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #646F40 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.