#666F28

Closest named color: Muddy Green (#657432). oklch(51.9% 0.095 115.9), rgb(102, 111, 40).

Aa

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

About this color

#666F28 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 52%, its chroma 0.095 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muddy Green (#657432), ΔE 0.015 away. White text reads best on it, at 5.42:1.

Hue familyYellows
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameMuddy Green (#657432)
Black text3.86:1
White text5.42:1

Values

HEX#666F28
RGBrgb(102, 111, 40)
HSLhsl(68, 47%, 30%)
OKLCHoklch(51.9% 0.095 115.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 #666F28 5.42:1 AA Lc -82.3 Fine for body text
Black text on #666F28 3.86:1 AA large text Lc 27.1 Dividers and decoration only
#666F28 text on white 5.42:1 AA Lc 77.0 Fine for body text
#666F28 text on black 3.86:1 AA large text Lc -24.8 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D8DCC9

    oklch(88.6% 0.026 116.6)

  4. Step 300

    300

    #BFC5A3

    oklch(81% 0.047 115.6)

  5. Step 400

    400

    #9EA771

    oklch(70.8% 0.075 116)

  6. Step 500

    500

    #87914B

    oklch(63.2% 0.095 115.9)

  7. Step 600

    600

    #717A2D

    oklch(55.6% 0.101 115.4)

  8. Step 700

    700 (this color)

    #666F28

    oklch(51.9% 0.095 115.9)

  9. Step 800

    800

    #4D541C

    oklch(42.7% 0.079 115.8)

  10. Step 900

    900

    #40461D

    oklch(37.8% 0.062 116.4)

  11. Step 950

    950

    #252912

    oklch(27% 0.039 117.2)

Export this scale for Tailwind in the Tailwind colors tool

#666F28 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)#7769200.029
Deuteranopia (no green cones)#766A2D0.030
Tritanopia (no blue cones)#6C69600.082
Achromatopsia (no color)#6A6A6A0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #666F28

    #666F28

    oklch(51.9% 0.095 115.9)

  • #6D5C99

    #6D5C99

    oklch(51.7% 0.096 295.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666F28

    #666F28

    oklch(51.9% 0.095 115.9)

  • #81641B

    #81641B

    oklch(51.9% 0.095 85.8)

  • #427746

    #427746

    oklch(51.9% 0.095 145.7)

Open the analogous palette in the generator

Split complementary

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

  • #666F28

    #666F28

    oklch(51.9% 0.095 115.9)

  • #4E669F

    #4E669F

    oklch(51.7% 0.095 265.9)

  • #855486

    #855486

    oklch(51.9% 0.096 326.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666F28

    #666F28

    oklch(51.9% 0.095 115.9)

  • #257098

    #257098

    oklch(51.8% 0.096 236.5)

  • #93506A

    #93506A

    oklch(51.9% 0.095 356.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666F28

    #666F28

    oklch(51.9% 0.095 115.9)

  • #007781

    #007781

    oklch(51.9% 0.089 205.1)

  • #6D5C99

    #6D5C99

    oklch(51.7% 0.096 295.7)

  • #98514B

    #98514B

    oklch(51.8% 0.096 25.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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