#888142
Closest named color: Drab (#828344). oklch(59.5% 0.085 103), rgb(136, 129, 66).
Aa
Black text reads best on this color (5.26:1).
About this color
#888142 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.085 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.010 away. Black text reads best on it, at 5.26:1.
| Hue family | Yellows |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.085) |
| Temperature | warm |
| Nearest name | Drab (#828344) |
| Black text | 5.26:1 |
| White text | 3.98:1 |
Values
| HEX | #888142 |
| RGB | rgb(136, 129, 66) |
| HSL | hsl(54, 35%, 40%) |
| OKLCH | oklch(59.5% 0.085 103) |
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 #888142 | 3.98:1 | AA large text | Lc -72.7 | Content text, not long reading |
| Black text on #888142 | 5.26:1 | AA | Lc 36.9 | Non-text elements, placeholder text |
| #888142 text on white | 3.98:1 | AA large text | Lc 67.2 | Content text, not long reading |
| #888142 text on black | 5.26:1 | AA | Lc -34.5 | 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 500.
-
Step 50
50
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EBEAE1
oklch(93.5% 0.012 101.5)
-
Step 200
200
#DBDAC9
oklch(88.5% 0.023 104.1)
-
Step 300
300
#C5C2A4
oklch(80.9% 0.041 102.6)
-
Step 400
400
#A8A372
oklch(70.8% 0.067 103)
-
Step 500
500 (this color)
#888142
oklch(59.5% 0.085 103)
-
Step 600
600
#7D752F
oklch(55.5% 0.091 102.8)
-
Step 700
700
#6A6221
oklch(49% 0.085 102.3)
-
Step 800
800
#56501D
oklch(42.6% 0.071 102.6)
-
Step 900
900
#47431E
oklch(37.8% 0.055 103.1)
-
Step 950
950
#292712
oklch(26.9% 0.035 103.7)
#888142 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) | #8B7D3C | 0.011 |
| Deuteranopia (no green cones) | #8D8145 | 0.009 |
| Tritanopia (no blue cones) | #917A72 | 0.076 |
| Achromatopsia (no color) | #7F7F7F | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #888142
#888142
oklch(59.5% 0.085 103)
- #7778B0
#7778B0
oklch(59.4% 0.085 282.7)
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 #888142, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab #828344 ΔE 0.010
- Hazel #8E7618 ΔE 0.037
- Camo #7F8F4E ΔE 0.038
- Khaki Green #728639 ΔE 0.038
- Olive #808000 ΔE 0.046
- Brown Grey #8D8468 ΔE 0.048
- Swamp #698339 ΔE 0.048
- Coffee #A6814C ΔE 0.052
Use #888142 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.