#778E31

Closest named color: Olive Drab (#6B8E23). oklch(60.9% 0.122 121.9), rgb(119, 142, 49).

Aa

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

About this color

#778E31 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.122 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.021 away. Black text reads best on it, at 5.69:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameOlive Drab (#6B8E23)
Black text5.69:1
White text3.68:1

Values

HEX#778E31
RGBrgb(119, 142, 49)
HSLhsl(75, 49%, 37%)
OKLCHoklch(60.9% 0.122 121.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 #778E31 3.68:1 AA large text Lc -69.8 Content text, not long reading
Black text on #778E31 5.69:1 AA Lc 39.7 Non-text elements, placeholder text
#778E31 text on white 3.68:1 AA large text Lc 64.3 Content text, not long reading
#778E31 text on black 5.69:1 AA Lc -37.3 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D5DDC5

    oklch(88.5% 0.033 122.1)

  4. Step 300

    300

    #BAC79D

    oklch(80.9% 0.059 121.7)

  5. Step 400

    400

    #97AA66

    oklch(70.7% 0.094 121.6)

  6. Step 500

    500 (this color)

    #778E31

    oklch(60.9% 0.122 121.9)

  7. Step 600

    600

    #677E08

    oklch(55.5% 0.132 121.7)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465703

    oklch(42.7% 0.102 121.9)

  10. Step 900

    900

    #3B4810

    oklch(37.8% 0.08 121.7)

  11. Step 950

    950

    #222A0C

    oklch(26.9% 0.05 122.3)

Export this scale for Tailwind in the Tailwind colors tool

#778E31 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)#9686250.047
Deuteranopia (no green cones)#9385380.049
Tritanopia (no blue cones)#7D877B0.102
Achromatopsia (no color)#8585850.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #778E31

    #778E31

    oklch(60.9% 0.122 121.9)

  • #9170BF

    #9170BF

    oklch(61% 0.121 302.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #778E31

    #778E31

    oklch(60.9% 0.122 121.9)

  • #9D800D

    #9D800D

    oklch(61% 0.122 92.3)

  • #41975D

    #41975D

    oklch(60.8% 0.121 151.8)

Open the analogous palette in the generator

Split complementary

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

  • #778E31

    #778E31

    oklch(60.9% 0.122 121.9)

  • #6A7DCC

    #6A7DCC

    oklch(61% 0.122 272.1)

  • #AD66A3

    #AD66A3

    oklch(61% 0.121 332.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #778E31

    #778E31

    oklch(60.9% 0.122 121.9)

  • #318AC5

    #318AC5

    oklch(60.8% 0.122 242.1)

  • #BD617D

    #BD617D

    oklch(60.9% 0.121 2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #778E31

    #778E31

    oklch(60.9% 0.122 121.9)

  • #0093A8

    #0093A8

    oklch(60.9% 0.106 212.3)

  • #9170BF

    #9170BF

    oklch(61% 0.121 302.2)

  • #C16553

    #C16553

    oklch(61% 0.122 32.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #778E31 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.