#666C27

Closest named color: Dark Moss Green (#606C38). oklch(51.1% 0.092 113.8), rgb(102, 108, 39).

Aa

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

About this color

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

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

Values

HEX#666C27
RGBrgb(102, 108, 39)
HSLhsl(65, 47%, 29%)
OKLCHoklch(51.1% 0.092 113.8)

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 #666C27 5.61:1 AA Lc -83.3 Fine for body text
Black text on #666C27 3.73:1 AA large text Lc 26.1 Dividers and decoration only
#666C27 text on white 5.61:1 AA Lc 78.0 Fine for body text
#666C27 text on black 3.73:1 AA large text Lc -23.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

    #D8DBC9

    oklch(88.4% 0.024 114.6)

  4. Step 300

    300

    #C0C4A4

    oklch(80.9% 0.044 113.2)

  5. Step 400

    400

    #A0A672

    oklch(70.7% 0.071 113.6)

  6. Step 500

    500

    #89904C

    oklch(63.2% 0.092 113.9)

  7. Step 600

    600

    #73792E

    oklch(55.5% 0.098 113.4)

  8. Step 700

    700 (this color)

    #666C27

    oklch(51.1% 0.092 113.8)

  9. Step 800

    800

    #4F531D

    oklch(42.6% 0.076 113.1)

  10. Step 900

    900

    #41451E

    oklch(37.7% 0.059 114.1)

  11. Step 950

    950

    #262812

    oklch(26.8% 0.037 113.1)

Export this scale for Tailwind in the Tailwind colors tool

#666C27 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)#74671F0.024
Deuteranopia (no green cones)#74682B0.026
Tritanopia (no blue cones)#6D665D0.080
Achromatopsia (no color)#6767670.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #666C27

    #666C27

    oklch(51.1% 0.092 113.8)

  • #695B96

    #695B96

    oklch(51% 0.093 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666C27

    #666C27

    oklch(51.1% 0.092 113.8)

  • #7F611D

    #7F611D

    oklch(51% 0.092 83.8)

  • #447443

    #447443

    oklch(51.1% 0.092 143.7)

Open the analogous palette in the generator

Split complementary

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

  • #666C27

    #666C27

    oklch(51.1% 0.092 113.8)

  • #4B659B

    #4B659B

    oklch(51.1% 0.092 263.9)

  • #805384

    #805384

    oklch(51% 0.092 323.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666C27

    #666C27

    oklch(51.1% 0.092 113.8)

  • #236F93

    #236F93

    oklch(51.3% 0.092 233.5)

  • #8F4F6A

    #8F4F6A

    oklch(51.2% 0.092 354.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666C27

    #666C27

    oklch(51.1% 0.092 113.8)

  • #00757D

    #00757D

    oklch(51.2% 0.087 203.1)

  • #695B96

    #695B96

    oklch(51% 0.093 293.8)

  • #94504C

    #94504C

    oklch(51.1% 0.092 24.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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