#666227

Closest named color: Greeny Brown (#696006). oklch(48.7% 0.08 105.4), rgb(102, 98, 39).

Aa

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

About this color

#666227 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 49%, its chroma 0.080 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Greeny Brown (#696006), ΔE 0.020 away. White text reads best on it, at 6.28:1.

Hue familyBrowns
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameGreeny Brown (#696006)
Black text3.34:1
White text6.28:1

Values

HEX#666227
RGBrgb(102, 98, 39)
HSLhsl(56, 45%, 28%)
OKLCHoklch(48.7% 0.08 105.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 #666227 6.28:1 AA Lc -86.4 Fine for body text
Black text on #666227 3.34:1 AA large text Lc 22.8 Dividers and decoration only
#666227 text on white 6.28:1 AA Lc 81.2 Fine for body text
#666227 text on black 3.34:1 AA large text Lc -20.6 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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DBDACA

    oklch(88.5% 0.022 103.9)

  4. Step 300

    300

    #C4C3A6

    oklch(81% 0.039 105.6)

  5. Step 400

    400

    #A6A376

    oklch(70.7% 0.062 104.7)

  6. Step 500

    500

    #908C52

    oklch(63% 0.079 105)

  7. Step 600

    600

    #7A7636

    oklch(55.5% 0.086 105.6)

  8. Step 700

    700 (this color)

    #666227

    oklch(48.7% 0.08 105.4)

  9. Step 800

    800

    #545123

    oklch(42.7% 0.066 105.5)

  10. Step 900

    900

    #454321

    oklch(37.6% 0.052 105.6)

  11. Step 950

    950

    #292714

    oklch(26.9% 0.032 103.1)

Export this scale for Tailwind in the Tailwind colors tool

#666227 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)#6A5F210.010
Deuteranopia (no green cones)#6C612A0.011
Tritanopia (no blue cones)#6D5C550.072
Achromatopsia (no color)#6060600.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #666227

    #666227

    oklch(48.7% 0.08 105.4)

  • #5B598B

    #5B598B

    oklch(48.8% 0.079 284.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #666227

    #666227

    oklch(48.7% 0.08 105.4)

  • #7A5926

    #7A5926

    oklch(48.8% 0.08 75.6)

  • #4B6A3B

    #4B6A3B

    oklch(48.8% 0.08 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #666227

    #666227

    oklch(48.7% 0.08 105.4)

  • #40618C

    #40618C

    oklch(48.7% 0.08 255.5)

  • #71517E

    #71517E

    oklch(48.7% 0.08 315.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #666227

    #666227

    oklch(48.7% 0.08 105.4)

  • #206982

    #206982

    oklch(48.8% 0.08 225.2)

  • #804C6A

    #804C6A

    oklch(48.7% 0.081 345)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #666227

    #666227

    oklch(48.7% 0.08 105.4)

  • #0D6D6E

    #0D6D6E

    oklch(48.6% 0.08 196)

  • #5B598B

    #5B598B

    oklch(48.8% 0.079 284.9)

  • #874C50

    #874C50

    oklch(48.7% 0.08 16.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #666227 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.