#788A4E

Closest named color: Camo (#7F8F4E). oklch(60.4% 0.086 122.6), rgb(120, 138, 78).

Aa

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

About this color

#788A4E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.086 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.018 away. Black text reads best on it, at 5.54:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.54:1
White text3.78:1

Values

HEX#788A4E
RGBrgb(120, 138, 78)
HSLhsl(78, 28%, 42%)
OKLCHoklch(60.4% 0.086 122.6)

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 #788A4E 3.78:1 AA large text Lc -70.9 Content text, not long reading
Black text on #788A4E 5.54:1 AA Lc 38.7 Non-text elements, placeholder text
#788A4E text on white 3.78:1 AA large text Lc 65.4 Content text, not long reading
#788A4E text on black 5.54:1 AA Lc -36.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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BBC5A8

    oklch(80.8% 0.041 122.8)

  5. Step 400

    400

    #99A879

    oklch(70.8% 0.067 122.5)

  6. Step 500

    500 (this color)

    #788A4E

    oklch(60.4% 0.086 122.6)

  7. Step 600

    600

    #697C3A

    oklch(55.5% 0.094 122.8)

  8. Step 700

    700

    #58692C

    oklch(49.2% 0.088 122.6)

  9. Step 800

    800

    #485526

    oklch(42.6% 0.072 122.3)

  10. Step 900

    900

    #3C4623

    oklch(37.6% 0.056 122.2)

  11. Step 950

    950

    #232915

    oklch(26.9% 0.036 122.4)

Export this scale for Tailwind in the Tailwind colors tool

#788A4E 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)#9084490.036
Deuteranopia (no green cones)#8E83510.038
Tritanopia (no blue cones)#7C857B0.070
Achromatopsia (no color)#8383830.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #788A4E

    #788A4E

    oklch(60.4% 0.086 122.6)

  • #8C75AC

    #8C75AC

    oklch(60.5% 0.086 303.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #788A4E

    #788A4E

    oklch(60.4% 0.086 122.6)

  • #948041

    #948041

    oklch(60.5% 0.086 92.1)

  • #579168

    #579168

    oklch(60.5% 0.088 152.4)

Open the analogous palette in the generator

Split complementary

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

  • #788A4E

    #788A4E

    oklch(60.4% 0.086 122.6)

  • #707EB6

    #707EB6

    oklch(60.5% 0.087 272.8)

  • #A16E98

    #A16E98

    oklch(60.5% 0.087 333)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #788A4E

    #788A4E

    oklch(60.4% 0.086 122.6)

  • #5088B1

    #5088B1

    oklch(60.5% 0.086 241.9)

  • #AD6B7D

    #AD6B7D

    oklch(60.4% 0.087 2.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #788A4E

    #788A4E

    oklch(60.4% 0.086 122.6)

  • #368FA0

    #368FA0

    oklch(60.4% 0.087 212.6)

  • #8C75AC

    #8C75AC

    oklch(60.5% 0.086 303.1)

  • #AF6E60

    #AF6E60

    oklch(60.5% 0.086 32.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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