#666E40

Closest named color: Dark Moss Green (#606C38). oklch(52% 0.067 116.9), rgb(102, 110, 64).

Aa

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

About this color

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

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

Values

HEX#666E40
RGBrgb(102, 110, 64)
HSLhsl(70, 26%, 34%)
OKLCHoklch(52% 0.067 116.9)

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 #666E40 5.42:1 AA Lc -82.4 Fine for body text
Black text on #666E40 3.86:1 AA large text Lc 27.0 Dividers and decoration only
#666E40 text on white 5.42:1 AA Lc 77.1 Fine for body text
#666E40 text on black 3.86:1 AA large text Lc -24.7 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

    #D8DBCE

    oklch(88.6% 0.018 117.3)

  4. Step 300

    300

    #BFC4AC

    oklch(81% 0.033 116.7)

  5. Step 400

    400

    #9EA580

    oklch(70.6% 0.052 116.5)

  6. Step 500

    500

    #868F60

    oklch(63.1% 0.067 117.2)

  7. Step 600

    600

    #707947

    oklch(55.6% 0.072 117.1)

  8. Step 700

    700 (this color)

    #666E40

    oklch(52% 0.067 116.9)

  9. Step 800

    800

    #4D532F

    oklch(42.7% 0.055 116.5)

  10. Step 900

    900

    #40452A

    oklch(37.8% 0.043 117.1)

  11. Step 950

    950

    #252819

    oklch(26.9% 0.027 117.4)

Export this scale for Tailwind in the Tailwind colors tool

#666E40 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.023
Deuteranopia (no green cones)#736A420.024
Tritanopia (no blue cones)#6B69630.059
Achromatopsia (no color)#6A6A6A0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #666E40

    #666E40

    oklch(52% 0.067 116.9)

  • #6D618B

    #6D618B

    oklch(52.1% 0.067 297.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666E40

    #666E40

    oklch(52% 0.067 116.9)

  • #7A6639

    #7A6639

    oklch(51.9% 0.068 86.1)

  • #4E7452

    #4E7452

    oklch(52.1% 0.068 147.1)

Open the analogous palette in the generator

Split complementary

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

  • #666E40

    #666E40

    oklch(52% 0.067 116.9)

  • #576890

    #576890

    oklch(52% 0.067 266.4)

  • #7E5B7D

    #7E5B7D

    oklch(52% 0.067 327.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666E40

    #666E40

    oklch(52% 0.067 116.9)

  • #416F8B

    #416F8B

    oklch(52% 0.067 236.8)

  • #885869

    #885869

    oklch(51.8% 0.067 356.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666E40

    #666E40

    oklch(52% 0.067 116.9)

  • #32747C

    #32747C

    oklch(52% 0.068 206.1)

  • #6D618B

    #6D618B

    oklch(52.1% 0.067 297.2)

  • #8C5A54

    #8C5A54

    oklch(52.1% 0.067 27.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #666E40 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.