#778A40

Closest named color: Khaki Green (#728639). oklch(60.1% 0.102 121.5), rgb(119, 138, 64).

Aa

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

About this color

#778A40 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.102 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.015 away. Black text reads best on it, at 5.49:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.49:1
White text3.82:1

Values

HEX#778A40
RGBrgb(119, 138, 64)
HSLhsl(75, 37%, 40%)
OKLCHoklch(60.1% 0.102 121.5)

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 #778A40 3.82:1 AA large text Lc -71.2 Content text, not long reading
Black text on #778A40 5.49:1 AA Lc 38.4 Non-text elements, placeholder text
#778A40 text on white 3.82:1 AA large text Lc 65.7 Content text, not long reading
#778A40 text on black 5.49:1 AA Lc -36.0 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BBC6A2

    oklch(80.8% 0.051 121.3)

  5. Step 400

    400

    #98A970

    oklch(70.7% 0.081 122)

  6. Step 500

    500 (this color)

    #778A40

    oklch(60.1% 0.102 121.5)

  7. Step 600

    600

    #697D29

    oklch(55.6% 0.112 121.6)

  8. Step 700

    700

    #58691C

    oklch(49.1% 0.103 121.1)

  9. Step 800

    800

    #48561A

    oklch(42.8% 0.085 121.3)

  10. Step 900

    900

    #3C471C

    oklch(37.7% 0.066 121.6)

  11. Step 950

    950

    #232A11

    oklch(27.1% 0.043 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#778A40 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)#9183390.040
Deuteranopia (no green cones)#8F82440.042
Tritanopia (no blue cones)#7C84790.084
Achromatopsia (no color)#8282820.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #778A40

    #778A40

    oklch(60.1% 0.102 121.5)

  • #8C71B4

    #8C71B4

    oklch(60.1% 0.103 301.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #778A40

    #778A40

    oklch(60.1% 0.102 121.5)

  • #977E2E

    #977E2E

    oklch(60.1% 0.102 91.5)

  • #4E9261

    #4E9261

    oklch(60.2% 0.102 151.3)

Open the analogous palette in the generator

Split complementary

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

  • #778A40

    #778A40

    oklch(60.1% 0.102 121.5)

  • #6B7CBE

    #6B7CBE

    oklch(60.1% 0.103 272)

  • #A4699C

    #A4699C

    oklch(60.1% 0.102 331.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #778A40

    #778A40

    oklch(60.1% 0.102 121.5)

  • #4288B8

    #4288B8

    oklch(60.2% 0.102 241.2)

  • #B2657C

    #B2657C

    oklch(60% 0.102 1.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #778A40

    #778A40

    oklch(60.1% 0.102 121.5)

  • #0E90A4

    #0E90A4

    oklch(60.1% 0.102 212.2)

  • #8C71B4

    #8C71B4

    oklch(60.1% 0.103 301.9)

  • #B6685A

    #B6685A

    oklch(60.2% 0.103 31.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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