#788D52

Closest named color: Camo (#7F8F4E). oklch(61.2% 0.086 124.9), rgb(120, 141, 82).

Aa

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

About this color

#788D52 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.086 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.013 away. Black text reads best on it, at 5.73:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.73:1
White text3.66:1

Values

HEX#788D52
RGBrgb(120, 141, 82)
HSLhsl(81, 26%, 44%)
OKLCHoklch(61.2% 0.086 124.9)

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 #788D52 3.66:1 AA large text Lc -69.7 Content text, not long reading
Black text on #788D52 5.73:1 AA Lc 39.9 Non-text elements, placeholder text
#788D52 text on white 3.66:1 AA large text Lc 64.2 Content text, not long reading
#788D52 text on black 5.73:1 AA Lc -37.5 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 500.

  1. Step 50

    50

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D5DCCB

    oklch(88.4% 0.024 125.2)

  4. Step 300

    300

    #BAC6A8

    oklch(80.9% 0.043 125.1)

  5. Step 400

    400

    #97A87A

    oklch(70.6% 0.067 124.6)

  6. Step 500

    500 (this color)

    #788D52

    oklch(61.2% 0.086 124.9)

  7. Step 600

    600

    #677D3C

    oklch(55.7% 0.094 124.8)

  8. Step 700

    700

    #55692E

    oklch(49% 0.088 125.1)

  9. Step 800

    800

    #465627

    oklch(42.8% 0.073 124.9)

  10. Step 900

    900

    #3B4724

    oklch(37.8% 0.057 124.6)

  11. Step 950

    950

    #222A16

    oklch(27.1% 0.037 126.5)

Export this scale for Tailwind in the Tailwind colors tool

#788D52 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)#93864E0.041
Deuteranopia (no green cones)#9085550.042
Tritanopia (no blue cones)#7C887F0.070
Achromatopsia (no color)#8686860.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #788D52

    #788D52

    oklch(61.2% 0.086 124.9)

  • #9077AE

    #9077AE

    oklch(61.3% 0.086 304.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #788D52

    #788D52

    oklch(61.2% 0.086 124.9)

  • #948343

    #948343

    oklch(61.1% 0.087 94.8)

  • #57936D

    #57936D

    oklch(61.1% 0.086 155.1)

Open the analogous palette in the generator

Split complementary

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

  • #788D52

    #788D52

    oklch(61.2% 0.086 124.9)

  • #7480B8

    #7480B8

    oklch(61.3% 0.086 274.3)

  • #A47099

    #A47099

    oklch(61.2% 0.086 334.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #788D52

    #788D52

    oklch(61.2% 0.086 124.9)

  • #5589B4

    #5589B4

    oklch(61.1% 0.086 244.8)

  • #B06D7D

    #B06D7D

    oklch(61.2% 0.087 4.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #788D52

    #788D52

    oklch(61.2% 0.086 124.9)

  • #3B91A4

    #3B91A4

    oklch(61.2% 0.086 214.8)

  • #9077AE

    #9077AE

    oklch(61.3% 0.086 304.8)

  • #B17160

    #B17160

    oklch(61.3% 0.086 35.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #788D52 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.