#787F3D

Closest named color: Drab (#828344). oklch(57.5% 0.09 114.3), rgb(120, 127, 61).

Aa

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

About this color

#787F3D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.090 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.021 away. Black text reads best on it, at 4.90:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameDrab (#828344)
Black text4.90:1
White text4.28:1

Values

HEX#787F3D
RGBrgb(120, 127, 61)
HSLhsl(66, 35%, 37%)
OKLCHoklch(57.5% 0.09 114.3)

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 #787F3D 4.28:1 AA large text Lc -75.1 Fine for body text
Black text on #787F3D 4.90:1 AA Lc 34.5 Non-text elements, placeholder text
#787F3D text on white 4.28:1 AA large text Lc 69.6 Content text, not long reading
#787F3D text on black 4.90:1 AA Lc -32.1 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

    #E9EBE2

    oklch(93.6% 0.012 116.8)

  3. Step 200

    200

    #D8DBCA

    oklch(88.4% 0.023 115)

  4. Step 300

    300

    #C0C4A7

    oklch(80.9% 0.04 113.7)

  5. Step 400

    400

    #9FA677

    oklch(70.8% 0.065 115)

  6. Step 500

    500

    #888F53

    oklch(63% 0.083 114.2)

  7. Step 600

    600 (this color)

    #787F3D

    oklch(57.5% 0.09 114.3)

  8. Step 700

    700

    #606629

    oklch(49.1% 0.084 114.2)

  9. Step 800

    800

    #4E5324

    oklch(42.6% 0.069 114.4)

  10. Step 900

    900

    #414522

    oklch(37.7% 0.054 114.4)

  11. Step 950

    950

    #262814

    oklch(26.9% 0.034 113.4)

Export this scale for Tailwind in the Tailwind colors tool

#787F3D 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)#877A370.025
Deuteranopia (no green cones)#877B410.027
Tritanopia (no blue cones)#7F79700.078
Achromatopsia (no color)#7A7A7A0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #787F3D

    #787F3D

    oklch(57.5% 0.09 114.3)

  • #7C6EA9

    #7C6EA9

    oklch(57.5% 0.09 294.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787F3D

    #787F3D

    oklch(57.5% 0.09 114.3)

  • #927434

    #927434

    oklch(57.5% 0.09 84)

  • #578757

    #578757

    oklch(57.6% 0.089 144.3)

Open the analogous palette in the generator

Split complementary

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

  • #787F3D

    #787F3D

    oklch(57.5% 0.09 114.3)

  • #5E78AF

    #5E78AF

    oklch(57.6% 0.091 264.4)

  • #936697

    #936697

    oklch(57.5% 0.09 323.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787F3D

    #787F3D

    oklch(57.5% 0.09 114.3)

  • #3B81A6

    #3B81A6

    oklch(57.4% 0.09 234.5)

  • #A3627C

    #A3627C

    oklch(57.6% 0.09 354.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787F3D

    #787F3D

    oklch(57.5% 0.09 114.3)

  • #218892

    #218892

    oklch(57.5% 0.09 204.8)

  • #7C6EA9

    #7C6EA9

    oklch(57.5% 0.09 294.3)

  • #A8635F

    #A8635F

    oklch(57.6% 0.09 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 #787F3D, closest first.

Similar named colors

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

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