#666F40
Closest named color: Dark Moss Green (#606C38). oklch(52.2% 0.069 117.7), rgb(102, 111, 64).
Aa
White text reads best on this color (5.36:1).
About this color
#666F40 is a medium-dark, muted yellow. In OKLCH its lightness is 52%, its chroma 0.069 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Moss Green (#606C38), ΔE 0.016 away. White text reads best on it, at 5.36:1.
| Hue family | Yellows |
| Lightness | medium-dark (52%) |
| Chroma | muted (0.069) |
| Temperature | in between |
| Nearest name | Dark Moss Green (#606C38) |
| Black text | 3.91:1 |
| White text | 5.36:1 |
Values
| HEX | #666F40 |
| RGB | rgb(102, 111, 64) |
| HSL | hsl(71, 27%, 34%) |
| OKLCH | oklch(52.2% 0.069 117.7) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #666F40 | 5.36:1 | AA | Lc -82.0 | Fine for body text |
| Black text on #666F40 | 3.91:1 | AA large text | Lc 27.4 | Dividers and decoration only |
| #666F40 text on white | 5.36:1 | AA | Lc 76.7 | Fine for body text |
| #666F40 text on black | 3.91:1 | AA large text | Lc -25.0 | 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.
-
Step 50
50
#F5F6F2
oklch(97.1% 0.005 117.9)
-
Step 100
100
#E9EBE4
oklch(93.7% 0.01 119.6)
-
Step 200
200
#D8DBCD
oklch(88.5% 0.019 116.6)
-
Step 300
300
#BEC4AC
oklch(80.9% 0.034 118.6)
-
Step 400
400
#9DA680
oklch(70.8% 0.054 118.6)
-
Step 500
500
#868F60
oklch(63.1% 0.067 117.2)
-
Step 600
600
#6F7946
oklch(55.5% 0.074 117.9)
-
Step 700
700 (this color)
#666F40
oklch(52.2% 0.069 117.7)
-
Step 800
800
#4C532E
oklch(42.6% 0.057 117.6)
-
Step 900
900
#3F4529
oklch(37.7% 0.045 118.5)
-
Step 950
950
#252818
oklch(26.9% 0.028 117)
#666F40 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #756A3C | 0.025 |
| Deuteranopia (no green cones) | #746B42 | 0.025 |
| Tritanopia (no blue cones) | #6A6A64 | 0.060 |
| Achromatopsia (no color) | #6B6B6B | 0.069 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #666F40
#666F40
oklch(52.2% 0.069 117.7)
- #6E618C
#6E618C
oklch(52.2% 0.068 297.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #666F40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Moss Green #606C38 ΔE 0.016
- Muddy Green #657432 ΔE 0.026
- Dark Olive Green #556B2F ΔE 0.036
- Brown Green #706C11 ΔE 0.040
- Military Green #667C3E ΔE 0.040
- Browny Green #6F6C0A ΔE 0.042
- Grey Brown #7F7053 ΔE 0.050
- Dirt Brown #836539 ΔE 0.051
Use #666F40 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.