#668B28
Closest named color: Mossy Green (#638B27). oklch(58.9% 0.133 127.8), rgb(102, 139, 40).
Aa
Black text reads best on this color (5.28:1).
About this color
#668B28 is a medium-dark, moderately saturated green. In OKLCH its lightness is 59%, its chroma 0.133 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.004 away. Black text reads best on it, at 5.28:1.
| Hue family | Greens |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.133) |
| Temperature | in between |
| Nearest name | Mossy Green (#638B27) |
| Black text | 5.28:1 |
| White text | 3.97:1 |
Values
| HEX | #668B28 |
| RGB | rgb(102, 139, 40) |
| HSL | hsl(82, 55%, 35%) |
| OKLCH | oklch(58.9% 0.133 127.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #668B28 | 3.97:1 | AA large text | Lc -72.4 | Content text, not long reading |
| Black text on #668B28 | 5.28:1 | AA | Lc 37.2 | Non-text elements, placeholder text |
| #668B28 text on white | 3.97:1 | AA large text | Lc 66.9 | Content text, not long reading |
| #668B28 text on black | 5.28:1 | AA | Lc -34.7 | Non-text elements, placeholder text |
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 600.
-
Step 50
50
#F4F6F1
oklch(97% 0.007 124.4)
-
Step 100
100
#E6ECE0
oklch(93.5% 0.017 128.7)
-
Step 200
200
#D3DEC7
oklch(88.6% 0.033 128)
-
Step 300
300
#B6C89F
oklch(80.8% 0.059 127)
-
Step 400
400
#8FAC6A
oklch(70.6% 0.096 128)
-
Step 500
500
#749740
oklch(63.1% 0.122 127.8)
-
Step 600
600 (this color)
#668B28
oklch(58.9% 0.133 127.8)
-
Step 700
700
#4C6D0A
oklch(49.1% 0.124 127.9)
-
Step 800
800
#3F590F
oklch(42.8% 0.102 127.7)
-
Step 900
900
#354916
oklch(37.6% 0.079 128)
-
Step 950
950
#1F2B0E
oklch(27% 0.051 128.1)
#668B28 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) | #928118 | 0.065 |
| Deuteranopia (no green cones) | #8D7F30 | 0.066 |
| Tritanopia (no blue cones) | #6A8577 | 0.104 |
| Achromatopsia (no color) | #808080 | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #668B28
#668B28
oklch(58.9% 0.133 127.8)
- #9365B9
#9365B9
oklch(58.9% 0.133 308.1)
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 #668B28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mossy Green #638B27 ΔE 0.004
- Olive Drab #6B8E23 ΔE 0.012
- Moss Green #658B38 ΔE 0.013
- Sap Green #5C8B15 ΔE 0.019
- Swamp Green #748500 ΔE 0.023
- Dark Yellow Green #728F02 ΔE 0.026
- Fern Green #548D44 ΔE 0.028
- Khaki Green #728639 ΔE 0.030
Use #668B28 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.