#788052

Closest named color: Drab (#828344). oklch(58.1% 0.066 116.5), rgb(120, 128, 82).

Aa

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

About this color

#788052 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.066 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.025 away. Black text reads best on it, at 5.00:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.066)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.00:1
White text4.19:1

Values

HEX#788052
RGBrgb(120, 128, 82)
HSLhsl(70, 22%, 41%)
OKLCHoklch(58.1% 0.066 116.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 #788052 4.19:1 AA large text Lc -74.4 Content text, not long reading
Black text on #788052 5.00:1 AA Lc 35.2 Non-text elements, placeholder text
#788052 text on white 4.19:1 AA large text Lc 68.9 Content text, not long reading
#788052 text on black 5.00:1 AA Lc -32.8 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D8DBCF

    oklch(88.6% 0.016 118.2)

  4. Step 300

    300

    #BFC3AE

    oklch(80.8% 0.029 115.8)

  5. Step 400

    400

    #9EA583

    oklch(70.7% 0.048 117.1)

  6. Step 500

    500

    #878F64

    oklch(63.2% 0.062 116.8)

  7. Step 600

    600 (this color)

    #788052

    oklch(58.1% 0.066 116.5)

  8. Step 700

    700

    #5E653C

    oklch(49% 0.061 116.6)

  9. Step 800

    800

    #4D5332

    oklch(42.8% 0.051 117)

  10. Step 900

    900

    #40442C

    oklch(37.6% 0.039 116)

  11. Step 950

    950

    #26281A

    oklch(27% 0.025 114.7)

Export this scale for Tailwind in the Tailwind colors tool

#788052 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)#867B4F0.024
Deuteranopia (no green cones)#857C540.023
Tritanopia (no blue cones)#7D7B740.057
Achromatopsia (no color)#7C7C7C0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #788052

    #788052

    oklch(58.1% 0.066 116.5)

  • #7E739E

    #7E739E

    oklch(58.2% 0.066 296)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #788052

    #788052

    oklch(58.1% 0.066 116.5)

  • #8C784C

    #8C784C

    oklch(58.1% 0.066 86)

  • #618663

    #618663

    oklch(58.2% 0.067 146)

Open the analogous palette in the generator

Split complementary

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

  • #788052

    #788052

    oklch(58.1% 0.066 116.5)

  • #697AA3

    #697AA3

    oklch(58.2% 0.067 266.9)

  • #906D90

    #906D90

    oklch(58.2% 0.067 326.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #788052

    #788052

    oklch(58.1% 0.066 116.5)

  • #53819D

    #53819D

    oklch(58.1% 0.066 236.2)

  • #9B6A7B

    #9B6A7B

    oklch(58% 0.067 356.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #788052

    #788052

    oklch(58.1% 0.066 116.5)

  • #47868E

    #47868E

    oklch(58.1% 0.066 206.2)

  • #7E739E

    #7E739E

    oklch(58.2% 0.066 296)

  • #9E6C66

    #9E6C66

    oklch(58.2% 0.065 26.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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