#787E35

Closest named color: Khaki Green (#728639). oklch(57.2% 0.097 113.4), rgb(120, 126, 53).

Aa

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

About this color

#787E35 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.097 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.023 away. Black text reads best on it, at 4.83:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text4.83:1
White text4.34:1

Values

HEX#787E35
RGBrgb(120, 126, 53)
HSLhsl(65, 41%, 35%)
OKLCHoklch(57.2% 0.097 113.4)

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 #787E35 4.34:1 AA large text Lc -75.5 Fine for body text
Black text on #787E35 4.83:1 AA Lc 34.1 Non-text elements, placeholder text
#787E35 text on white 4.34:1 AA large text Lc 70.0 Content text, not long reading
#787E35 text on black 4.83:1 AA Lc -31.6 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D9DBC9

    oklch(88.5% 0.024 112)

  4. Step 300

    300

    #C0C4A4

    oklch(80.9% 0.044 113.2)

  5. Step 400

    400

    #A0A673

    oklch(70.8% 0.07 113.7)

  6. Step 500

    500

    #898F4E

    oklch(63% 0.088 113.3)

  7. Step 600

    600 (this color)

    #787E35

    oklch(57.2% 0.097 113.4)

  8. Step 700

    700

    #616622

    oklch(49.1% 0.09 113.3)

  9. Step 800

    800

    #4F531E

    oklch(42.6% 0.075 113.1)

  10. Step 900

    900

    #41451E

    oklch(37.7% 0.059 114.1)

  11. Step 950

    950

    #262813

    oklch(26.9% 0.036 113.3)

Export this scale for Tailwind in the Tailwind colors tool

#787E35 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)#87782D0.026
Deuteranopia (no green cones)#877A390.027
Tritanopia (no blue cones)#7F776E0.085
Achromatopsia (no color)#7979790.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #787E35

    #787E35

    oklch(57.2% 0.097 113.4)

  • #7B6CAC

    #7B6CAC

    oklch(57.2% 0.098 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787E35

    #787E35

    oklch(57.2% 0.097 113.4)

  • #93722C

    #93722C

    oklch(57.1% 0.096 83.2)

  • #548752

    #548752

    oklch(57.3% 0.097 143.4)

Open the analogous palette in the generator

Split complementary

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

  • #787E35

    #787E35

    oklch(57.2% 0.097 113.4)

  • #5A77B1

    #5A77B1

    oklch(57.2% 0.096 263.4)

  • #946499

    #946499

    oklch(57.3% 0.097 323.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787E35

    #787E35

    oklch(57.2% 0.097 113.4)

  • #3181A8

    #3181A8

    oklch(57.2% 0.097 233.4)

  • #A45F7D

    #A45F7D

    oklch(57.3% 0.097 353)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787E35

    #787E35

    oklch(57.2% 0.097 113.4)

  • #048892

    #048892

    oklch(57.2% 0.097 204)

  • #7B6CAC

    #7B6CAC

    oklch(57.2% 0.098 293.8)

  • #AA605C

    #AA605C

    oklch(57.3% 0.097 23.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #787E35 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.