#818052

Closest named color: Drab (#828344). oklch(58.9% 0.065 107.2), rgb(129, 128, 82).

Aa

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

About this color

#818052 is a medium-dark, muted yellow. In OKLCH its lightness is 59%, its chroma 0.065 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.021 away. Black text reads best on it, at 5.14:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamuted (0.065)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.14:1
White text4.08:1

Values

HEX#818052
RGBrgb(129, 128, 82)
HSLhsl(59, 22%, 41%)
OKLCHoklch(58.9% 0.065 107.2)

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 #818052 4.08:1 AA large text Lc -73.5 Content text, not long reading
Black text on #818052 5.14:1 AA Lc 36.1 Non-text elements, placeholder text
#818052 text on white 4.08:1 AA large text Lc 68.0 Content text, not long reading
#818052 text on black 5.14:1 AA Lc -33.7 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

    #F6F6F3

    oklch(97.2% 0.004 106.5)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACE

    oklch(88.5% 0.016 106.7)

  4. Step 300

    300

    #C2C2AD

    oklch(80.8% 0.029 107)

  5. Step 400

    400

    #A3A382

    oklch(70.7% 0.046 107.5)

  6. Step 500

    500

    #8D8C62

    oklch(63% 0.059 106.8)

  7. Step 600

    600 (this color)

    #818052

    oklch(58.9% 0.065 107.2)

  8. Step 700

    700

    #64633A

    oklch(49% 0.06 107.2)

  9. Step 800

    800

    #525130

    oklch(42.7% 0.05 106.8)

  10. Step 900

    900

    #44432B

    oklch(37.7% 0.038 106.1)

  11. Step 950

    950

    #282719

    oklch(26.9% 0.024 104.5)

Export this scale for Tailwind in the Tailwind colors tool

#818052 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)#877C4F0.013
Deuteranopia (no green cones)#887F540.012
Tritanopia (no blue cones)#877A740.058
Achromatopsia (no color)#7E7E7E0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #818052

    #818052

    oklch(58.9% 0.065 107.2)

  • #7A77A2

    #7A77A2

    oklch(58.8% 0.065 287.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818052

    #818052

    oklch(58.9% 0.065 107.2)

  • #937850

    #937850

    oklch(58.9% 0.065 76.8)

  • #6B8660

    #6B8660

    oklch(58.8% 0.064 136.8)

Open the analogous palette in the generator

Split complementary

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

  • #818052

    #818052

    oklch(58.9% 0.065 107.2)

  • #647FA4

    #647FA4

    oklch(59% 0.065 256.4)

  • #8D7197

    #8D7197

    oklch(58.9% 0.065 317.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818052

    #818052

    oklch(58.9% 0.065 107.2)

  • #51859B

    #51859B

    oklch(58.9% 0.065 226.9)

  • #9A6D84

    #9A6D84

    oklch(58.8% 0.065 347.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818052

    #818052

    oklch(58.9% 0.065 107.2)

  • #4A898A

    #4A898A

    oklch(58.9% 0.065 196.9)

  • #7A77A2

    #7A77A2

    oklch(58.8% 0.065 287.4)

  • #A06D6F

    #A06D6F

    oklch(58.8% 0.065 16.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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