#778C2A

Closest named color: Olive Drab (#6B8E23). oklch(60.4% 0.124 120.7), rgb(119, 140, 42).

Aa

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

About this color

#778C2A is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.124 and its hue 121°. 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.56:1.

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

Values

HEX#778C2A
RGBrgb(119, 140, 42)
HSLhsl(73, 54%, 36%)
OKLCHoklch(60.4% 0.124 120.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 #778C2A 3.77:1 AA large text Lc -70.6 Content text, not long reading
Black text on #778C2A 5.56:1 AA Lc 38.9 Non-text elements, placeholder text
#778C2A text on white 3.77:1 AA large text Lc 65.1 Content text, not long reading
#778C2A text on black 5.56:1 AA Lc -36.5 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  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

    #BBC79B

    oklch(80.9% 0.061 120.2)

  5. Step 400

    400

    #98AA63

    oklch(70.7% 0.097 120.6)

  6. Step 500

    500 (this color)

    #778C2A

    oklch(60.4% 0.124 120.7)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3C480D

    oklch(37.8% 0.081 120.6)

  11. Step 950

    950

    #232A0A

    oklch(27% 0.052 120.4)

Export this scale for Tailwind in the Tailwind colors tool

#778C2A 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)#95841B0.046
Deuteranopia (no green cones)#9284320.047
Tritanopia (no blue cones)#7E85780.104
Achromatopsia (no color)#8383830.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #778C2A

    #778C2A

    oklch(60.4% 0.124 120.7)

  • #8E6EC0

    #8E6EC0

    oklch(60.4% 0.125 300.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #778C2A

    #778C2A

    oklch(60.4% 0.124 120.7)

  • #9D7D00

    #9D7D00

    oklch(60.3% 0.123 90.7)

  • #3F9659

    #3F9659

    oklch(60.4% 0.125 150.8)

Open the analogous palette in the generator

Split complementary

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

  • #778C2A

    #778C2A

    oklch(60.4% 0.124 120.7)

  • #667CCC

    #667CCC

    oklch(60.5% 0.124 270.7)

  • #AB64A4

    #AB64A4

    oklch(60.5% 0.124 330.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #778C2A

    #778C2A

    oklch(60.4% 0.124 120.7)

  • #2889C4

    #2889C4

    oklch(60.3% 0.125 240.9)

  • #BC5F7D

    #BC5F7D

    oklch(60.4% 0.123 1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #778C2A

    #778C2A

    oklch(60.4% 0.124 120.7)

  • #0092A4

    #0092A4

    oklch(60.5% 0.105 210)

  • #8E6EC0

    #8E6EC0

    oklch(60.4% 0.125 300.7)

  • #C06252

    #C06252

    oklch(60.4% 0.124 31)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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