Drab #828344
Drab is a medium-dark, moderately saturated yellow with hex code #828344 and RGB rgb(130, 131, 68).
Aa
Black text reads best on this color (5.27:1).
About this color
#828344 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.085 and its hue 110°. Its hue sits on the warm side of the wheel. It is the named color Drab. Black text reads best on it, at 5.27:1.
| Hue family | Yellows |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.085) |
| Temperature | warm |
| Nearest name | Drab |
| Black text | 5.27:1 |
| White text | 3.97:1 |
Colors that go with Drab
Matches found by rotating Drab around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Drab
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Drab, closest first.
Similar named colors
The eight named colors closest to Drab, with their ΔE distance.
- Khaki Green #728639 ΔE 0.030
- Camo #7F8F4E ΔE 0.032
- Swamp #698339 ΔE 0.040
- Hazel #8E7618 ΔE 0.042
- Olive #808000 ΔE 0.044
- Military Green #667C3E ΔE 0.048
- Drab Green #749551 ΔE 0.050
- Moss Green #658B38 ΔE 0.050
More about Drab
How to make Drab
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 3 parts yellow
- 2 parts pink
- 1 part black
Recipe result: #838041, a difference of ΔE 0.009 from Drab. That is very close: most people will not see the difference.
Codes for Drab in every format
| HEX | #828344 |
| RGB | rgb(130, 131, 68) |
| HSL | hsl(61, 32%, 39%) |
| OKLCH | oklch(59.5% 0.085 109.5) |
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 #828344 | 3.97:1 | AA large text | Lc -72.6 | Content text, not long reading |
| Black text on #828344 | 5.27:1 | AA | Lc 37.0 | Non-text elements, placeholder text |
| #828344 text on white | 3.97:1 | AA large text | Lc 67.1 | Content text, not long reading |
| #828344 text on black | 5.27:1 | AA | Lc -34.6 | Non-text elements, placeholder text |
Shades and tints of Drab
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
#F5F6F2
oklch(97.1% 0.005 117.9)
-
Step 100
100
#EAEBE2
oklch(93.7% 0.012 111.8)
-
Step 200
200
#DADBC9
oklch(88.6% 0.024 109.5)
-
Step 300
300
#C2C3A5
oklch(80.8% 0.041 108.8)
-
Step 400
400
#A3A574
oklch(70.8% 0.067 110)
-
Step 500
500 (this color)
#828344
oklch(59.5% 0.085 109.5)
-
Step 600
600
#777831
oklch(55.6% 0.094 109.8)
-
Step 700
700
#646524
oklch(49.2% 0.087 110)
-
Step 800
800
#52521F
oklch(42.7% 0.072 109.1)
-
Step 900
900
#44441F
oklch(37.7% 0.056 108.8)
-
Step 950
950
#282813
oklch(27.1% 0.035 108.5)
Drab 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) | #8C7E3F | 0.019 |
| Deuteranopia (no green cones) | #8C8147 | 0.017 |
| Tritanopia (no blue cones) | #8A7C74 | 0.076 |
| Achromatopsia (no color) | #7F7F7F | 0.085 |
Use Drab 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.