#788B26

Closest named color: Olive Drab (#6B8E23). oklch(60.2% 0.126 119.7), rgb(120, 139, 38).

Aa

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

About this color

#788B26 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.126 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.019 away. Black text reads best on it, at 5.51:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameOlive Drab (#6B8E23)
Black text5.51:1
White text3.80:1

Values

HEX#788B26
RGBrgb(120, 139, 38)
HSLhsl(71, 57%, 35%)
OKLCHoklch(60.2% 0.126 119.7)

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 #788B26 3.80:1 AA large text Lc -71.0 Content text, not long reading
Black text on #788B26 5.51:1 AA Lc 38.6 Non-text elements, placeholder text
#788B26 text on white 3.80:1 AA large text Lc 65.5 Content text, not long reading
#788B26 text on black 5.51:1 AA Lc -36.2 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC4

    oklch(88.5% 0.034 119.8)

  4. Step 300

    300

    #BBC79A

    oklch(80.9% 0.062 119.9)

  5. Step 400

    400

    #99AA62

    oklch(70.8% 0.098 119.8)

  6. Step 500

    500 (this color)

    #788B26

    oklch(60.2% 0.126 119.7)

  7. Step 600

    600

    #6B7D00

    oklch(55.5% 0.131 119.3)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3C470B

    oklch(37.5% 0.081 119.8)

  11. Step 950

    950

    #232A09

    oklch(27% 0.053 120.2)

Export this scale for Tailwind in the Tailwind colors tool

#788B26 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)#9483140.044
Deuteranopia (no green cones)#92832E0.046
Tritanopia (no blue cones)#7F83770.107
Achromatopsia (no color)#8383830.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #788B26

    #788B26

    oklch(60.2% 0.126 119.7)

  • #8C6EC0

    #8C6EC0

    oklch(60.2% 0.125 299.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #788B26

    #788B26

    oklch(60.2% 0.126 119.7)

  • #9E7C00

    #9E7C00

    oklch(60.2% 0.123 89.4)

  • #409556

    #409556

    oklch(60.1% 0.126 149.6)

Open the analogous palette in the generator

Split complementary

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

  • #788B26

    #788B26

    oklch(60.2% 0.126 119.7)

  • #637BCC

    #637BCC

    oklch(60.1% 0.127 269.8)

  • #AA63A5

    #AA63A5

    oklch(60.2% 0.126 329.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #788B26

    #788B26

    oklch(60.2% 0.126 119.7)

  • #2289C3

    #2289C3

    oklch(60.1% 0.125 239.6)

  • #BC5E7E

    #BC5E7E

    oklch(60.3% 0.125 360)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #788B26

    #788B26

    oklch(60.2% 0.126 119.7)

  • #0091A3

    #0091A3

    oklch(60.2% 0.104 210.1)

  • #8C6EC0

    #8C6EC0

    oklch(60.2% 0.125 299.5)

  • #C06053

    #C06053

    oklch(60.1% 0.126 29.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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