#788937

Closest named color: Khaki Green (#728639). oklch(59.9% 0.109 119.7), rgb(120, 137, 55).

Aa

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

About this color

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

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

Values

HEX#788937
RGBrgb(120, 137, 55)
HSLhsl(72, 43%, 38%)
OKLCHoklch(59.9% 0.109 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 #788937 3.86:1 AA large text Lc -71.6 Content text, not long reading
Black text on #788937 5.43:1 AA Lc 38.0 Non-text elements, placeholder text
#788937 text on white 3.86:1 AA large text Lc 66.1 Content text, not long reading
#788937 text on black 5.43:1 AA Lc -35.6 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

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D6DCC7

    oklch(88.4% 0.029 120)

  4. Step 300

    300

    #BCC6A0

    oklch(80.9% 0.053 119.6)

  5. Step 400

    400

    #9AA96B

    oklch(70.8% 0.086 119.7)

  6. Step 500

    500 (this color)

    #788937

    oklch(59.9% 0.109 119.7)

  7. Step 600

    600

    #6B7D1D

    oklch(55.7% 0.119 119.9)

  8. Step 700

    700

    #59690D

    oklch(49% 0.111 119.9)

  9. Step 800

    800

    #495611

    oklch(42.8% 0.092 119.9)

  10. Step 900

    900

    #3D4717

    oklch(37.7% 0.071 119.9)

  11. Step 950

    950

    #242A0F

    oklch(27.2% 0.045 119.9)

Export this scale for Tailwind in the Tailwind colors tool

#788937 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)#91822E0.039
Deuteranopia (no green cones)#8F823C0.040
Tritanopia (no blue cones)#7E82770.092
Achromatopsia (no color)#8282820.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #788937

    #788937

    oklch(59.9% 0.109 119.7)

  • #8A70B7

    #8A70B7

    oklch(59.9% 0.109 300)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #788937

    #788937

    oklch(59.9% 0.109 119.7)

  • #997C23

    #997C23

    oklch(59.8% 0.109 89.9)

  • #4B925C

    #4B925C

    oklch(59.9% 0.109 149.8)

Open the analogous palette in the generator

Split complementary

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

  • #788937

    #788937

    oklch(59.9% 0.109 119.7)

  • #667CC1

    #667CC1

    oklch(59.9% 0.109 269.5)

  • #A4679F

    #A4679F

    oklch(59.9% 0.109 329.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #788937

    #788937

    oklch(59.9% 0.109 119.7)

  • #3788BA

    #3788BA

    oklch(59.9% 0.109 239.5)

  • #B4627D

    #B4627D

    oklch(59.8% 0.11 359.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #788937

    #788937

    oklch(59.9% 0.109 119.7)

  • #0090A1

    #0090A1

    oklch(59.8% 0.103 209.4)

  • #8A70B7

    #8A70B7

    oklch(59.9% 0.109 300)

  • #B86558

    #B86558

    oklch(59.9% 0.109 30)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #788937 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.