#786A17

Closest named color: Brown Green (#706C11). oklch(52.2% 0.099 99.1), rgb(120, 106, 23).

Aa

White text reads best on this color (5.42:1).

About this color

#786A17 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 52%, its chroma 0.099 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.015 away. White text reads best on it, at 5.42:1.

Hue familyYellows
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text3.87:1
White text5.42:1

Values

HEX#786A17
RGBrgb(120, 106, 23)
HSLhsl(51, 68%, 28%)
OKLCHoklch(52.2% 0.099 99.1)

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 #786A17 5.42:1 AA Lc -82.3 Fine for body text
Black text on #786A17 3.87:1 AA large text Lc 27.1 Dividers and decoration only
#786A17 text on white 5.42:1 AA Lc 76.9 Fine for body text
#786A17 text on black 3.87:1 AA large text Lc -24.8 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C8C29E

    oklch(81% 0.049 99.5)

  5. Step 400

    400

    #ACA269

    oklch(70.7% 0.077 99.5)

  6. Step 500

    500

    #988A3E

    oklch(63% 0.098 99)

  7. Step 600

    600

    #837418

    oklch(55.7% 0.107 99.4)

  8. Step 700

    700 (this color)

    #786A17

    oklch(52.2% 0.099 99.1)

  9. Step 800

    800

    #5A4F0D

    oklch(42.6% 0.082 99.1)

  10. Step 900

    900

    #4A4215

    oklch(37.7% 0.064 99.2)

  11. Step 950

    950

    #2B270E

    oklch(27% 0.04 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#786A17 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)#7567040.012
Deuteranopia (no green cones)#796C1D0.006
Tritanopia (no blue cones)#82615A0.092
Achromatopsia (no color)#6A6A6A0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #786A17

    #786A17

    oklch(52.2% 0.099 99.1)

  • #5E63A2

    #5E63A2

    oklch(52.4% 0.099 278.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786A17

    #786A17

    oklch(52.2% 0.099 99.1)

  • #8E5E1E

    #8E5E1E

    oklch(52.2% 0.099 69.5)

  • #577532

    #577532

    oklch(52.3% 0.101 129.4)

Open the analogous palette in the generator

Split complementary

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

  • #786A17

    #786A17

    oklch(52.2% 0.099 99.1)

  • #376DA0

    #376DA0

    oklch(52.2% 0.099 249.1)

  • #7A5995

    #7A5995

    oklch(52.3% 0.099 308.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786A17

    #786A17

    oklch(52.2% 0.099 99.1)

  • #00768E

    #00768E

    oklch(52.3% 0.094 218.5)

  • #8F527C

    #8F527C

    oklch(52.3% 0.099 339.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786A17

    #786A17

    oklch(52.2% 0.099 99.1)

  • #007A74

    #007A74

    oklch(52.2% 0.091 188.8)

  • #5E63A2

    #5E63A2

    oklch(52.4% 0.099 278.9)

  • #994F5D

    #994F5D

    oklch(52.1% 0.099 9.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #786A17 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.