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 familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameDrab
Black text5.27:1
White text3.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.

Analogous

Neighbouring hues, 30° either side.

Open the analogous palette in the generator

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.

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.

What colors make brown? | Color mixing chart

Codes for Drab in every format

HEX#828344
RGBrgb(130, 131, 68)
HSLhsl(61, 32%, 39%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #DADBC9

    oklch(88.6% 0.024 109.5)

  4. Step 300

    300

    #C2C3A5

    oklch(80.8% 0.041 108.8)

  5. Step 400

    400

    #A3A574

    oklch(70.8% 0.067 110)

  6. Step 500

    500 (this color)

    #828344

    oklch(59.5% 0.085 109.5)

  7. Step 600

    600

    #777831

    oklch(55.6% 0.094 109.8)

  8. Step 700

    700

    #646524

    oklch(49.2% 0.087 110)

  9. Step 800

    800

    #52521F

    oklch(42.7% 0.072 109.1)

  10. Step 900

    900

    #44441F

    oklch(37.7% 0.056 108.8)

  11. Step 950

    950

    #282813

    oklch(27.1% 0.035 108.5)

Export this scale for Tailwind in the Tailwind colors tool

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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#8C7E3F0.019
Deuteranopia (no green cones)#8C81470.017
Tritanopia (no blue cones)#8A7C740.076
Achromatopsia (no color)#7F7F7F0.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.