#808048

Closest named color: Drab (#828344). oklch(58.7% 0.077 108.6), rgb(128, 128, 72).

Aa

Black text reads best on this color (5.09:1).

About this color

#808048 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.077 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.012 away. Black text reads best on it, at 5.09:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.09:1
White text4.11:1

Values

HEX#808048
RGBrgb(128, 128, 72)
HSLhsl(60, 28%, 39%)
OKLCHoklch(58.7% 0.077 108.6)

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 #808048 4.11:1 AA large text Lc -73.8 Content text, not long reading
Black text on #808048 5.09:1 AA Lc 35.8 Non-text elements, placeholder text
#808048 text on white 4.11:1 AA large text Lc 68.3 Content text, not long reading
#808048 text on black 5.09:1 AA Lc -33.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 600.

  1. Step 50

    50

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #DADACC

    oklch(88.5% 0.019 106.8)

  4. Step 300

    300

    #C2C3A9

    oklch(80.9% 0.035 109)

  5. Step 400

    400

    #A3A47C

    oklch(70.7% 0.055 108.9)

  6. Step 500

    500

    #8D8D5A

    oklch(63.1% 0.071 108.3)

  7. Step 600

    600 (this color)

    #808048

    oklch(58.7% 0.077 108.6)

  8. Step 700

    700

    #646431

    oklch(49.1% 0.072 108.8)

  9. Step 800

    800

    #525229

    oklch(42.8% 0.06 108.7)

  10. Step 900

    900

    #444426

    oklch(37.8% 0.047 108.4)

  11. Step 950

    950

    #282817

    oklch(27.2% 0.029 108.2)

Export this scale for Tailwind in the Tailwind colors tool

#808048 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)#887C430.015
Deuteranopia (no green cones)#897E4B0.016
Tritanopia (no blue cones)#877A730.069
Achromatopsia (no color)#7D7D7D0.077

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #808048

    #808048

    oklch(58.7% 0.077 108.6)

  • #7A75A8

    #7A75A8

    oklch(58.7% 0.077 288.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #808048

    #808048

    oklch(58.7% 0.077 108.6)

  • #957745

    #957745

    oklch(58.7% 0.077 79.2)

  • #65875A

    #65875A

    oklch(58.5% 0.077 138.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #808048

    #808048

    oklch(58.7% 0.077 108.6)

  • #607DAA

    #607DAA

    oklch(58.6% 0.077 259)

  • #906E9A

    #906E9A

    oklch(58.8% 0.077 318.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #808048

    #808048

    oklch(58.7% 0.077 108.6)

  • #4685A1

    #4685A1

    oklch(58.6% 0.078 229)

  • #9F6984

    #9F6984

    oklch(58.6% 0.078 348.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #808048

    #808048

    oklch(58.7% 0.077 108.6)

  • #3B8A8D

    #3B8A8D

    oklch(58.6% 0.077 198.7)

  • #7A75A8

    #7A75A8

    oklch(58.7% 0.077 288.3)

  • #A5696A

    #A5696A

    oklch(58.6% 0.077 18.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #808048, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #808048 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.