#666A28

Closest named color: Dark Moss Green (#606C38). oklch(50.6% 0.089 112.4), rgb(102, 106, 40).

Aa

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

About this color

#666A28 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 51%, its chroma 0.089 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Moss Green (#606C38), ΔE 0.017 away. White text reads best on it, at 5.74:1.

Hue familyYellows
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameDark Moss Green (#606C38)
Black text3.65:1
White text5.74:1

Values

HEX#666A28
RGBrgb(102, 106, 40)
HSLhsl(64, 45%, 29%)
OKLCHoklch(50.6% 0.089 112.4)

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 #666A28 5.74:1 AA Lc -83.9 Fine for body text
Black text on #666A28 3.65:1 AA large text Lc 25.4 Dividers and decoration only
#666A28 text on white 5.74:1 AA Lc 78.7 Fine for body text
#666A28 text on black 3.65:1 AA large text Lc -23.1 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #D9DBC9

    oklch(88.5% 0.024 112)

  4. Step 300

    300

    #C1C4A5

    oklch(81% 0.042 111.8)

  5. Step 400

    400

    #A1A573

    oklch(70.6% 0.069 111.9)

  6. Step 500

    500

    #8A8F4E

    oklch(63.1% 0.088 112.5)

  7. Step 600

    600

    #747931

    oklch(55.6% 0.095 112.8)

  8. Step 700

    700 (this color)

    #666A28

    oklch(50.6% 0.089 112.4)

  9. Step 800

    800

    #50531F

    oklch(42.7% 0.073 112.2)

  10. Step 900

    900

    #42451F

    oklch(37.8% 0.058 112.8)

  11. Step 950

    950

    #272813

    oklch(27% 0.035 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#666A28 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)#7265210.022
Deuteranopia (no green cones)#72672C0.022
Tritanopia (no blue cones)#6D645C0.078
Achromatopsia (no color)#6666660.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #666A28

    #666A28

    oklch(50.6% 0.089 112.4)

  • #675B93

    #675B93

    oklch(50.7% 0.088 292.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666A28

    #666A28

    oklch(50.6% 0.089 112.4)

  • #7E6020

    #7E6020

    oklch(50.7% 0.089 82.8)

  • #467242

    #467242

    oklch(50.7% 0.089 142.3)

Open the analogous palette in the generator

Split complementary

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

  • #666A28

    #666A28

    oklch(50.6% 0.089 112.4)

  • #496498

    #496498

    oklch(50.6% 0.089 262.7)

  • #7D5383

    #7D5383

    oklch(50.6% 0.089 322.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666A28

    #666A28

    oklch(50.6% 0.089 112.4)

  • #236D8F

    #236D8F

    oklch(50.6% 0.089 232.6)

  • #8C4F6A

    #8C4F6A

    oklch(50.8% 0.089 352.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666A28

    #666A28

    oklch(50.6% 0.089 112.4)

  • #00737A

    #00737A

    oklch(50.6% 0.086 202.2)

  • #675B93

    #675B93

    oklch(50.7% 0.088 292.8)

  • #914F4D

    #914F4D

    oklch(50.6% 0.089 22.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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