#8D8A51
Closest named color: Camo (#7F8F4E). oklch(62.2% 0.078 105.8), rgb(141, 138, 81).
Aa
Black text reads best on this color (5.88:1).
About this color
#8D8A51 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.078 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.025 away. Black text reads best on it, at 5.88:1.
| Hue family | Yellows |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.078) |
| Temperature | warm |
| Nearest name | Camo (#7F8F4E) |
| Black text | 5.88:1 |
| White text | 3.56:1 |
Values
| HEX | #8D8A51 |
| RGB | rgb(141, 138, 81) |
| HSL | hsl(57, 27%, 44%) |
| OKLCH | oklch(62.2% 0.078 105.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 #8D8A51 | 3.56:1 | AA large text | Lc -68.7 | Content text, not long reading |
| Black text on #8D8A51 | 5.88:1 | AA | Lc 40.8 | Non-text elements, placeholder text |
| #8D8A51 text on white | 3.56:1 | AA large text | Lc 63.2 | Content text, not long reading |
| #8D8A51 text on black | 5.88:1 | AA | Lc -38.4 | 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
#F6F6F2
oklch(97.2% 0.005 106.5)
-
Step 100
100
#EBEAE2
oklch(93.6% 0.011 100.8)
-
Step 200
200
#DBDACA
oklch(88.5% 0.022 103.9)
-
Step 300
300
#C3C3A7
oklch(81% 0.038 107.2)
-
Step 400
400
#A5A377
oklch(70.6% 0.061 105.7)
-
Step 500
500 (this color)
#8D8A51
oklch(62.2% 0.078 105.8)
-
Step 600
600
#7A7637
oklch(55.5% 0.085 105.5)
-
Step 700
700
#67632A
oklch(49.1% 0.078 105.2)
-
Step 800
800
#545124
oklch(42.7% 0.065 105.4)
-
Step 900
900
#454322
oklch(37.6% 0.05 105.5)
-
Step 950
950
#282714
oklch(26.8% 0.032 105.8)
#8D8A51 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) | #93864D | 0.013 |
| Deuteranopia (no green cones) | #948953 | 0.012 |
| Tritanopia (no blue cones) | #95837C | 0.070 |
| Achromatopsia (no color) | #888888 | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8D8A51
#8D8A51
oklch(62.2% 0.078 105.8)
- #8280B4
#8280B4
oklch(62.2% 0.078 285.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 #8D8A51, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo #7F8F4E ΔE 0.025
- Drab #828344 ΔE 0.029
- Brown Grey #8D8468 ΔE 0.040
- Green Grey #77926F ΔE 0.043
- Coffee #A6814C ΔE 0.043
- Drab Green #749551 ΔE 0.045
- Dark Sand #A88F59 ΔE 0.047
- Moss #769958 ΔE 0.048
Use #8D8A51 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.