#78891F

Closest named color: Swamp Green (#748500). oklch(59.7% 0.128 118.6), rgb(120, 137, 31).

Aa

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

About this color

#78891F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.128 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.017 away. Black text reads best on it, at 5.39:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameSwamp Green (#748500)
Black text5.39:1
White text3.89:1

Values

HEX#78891F
RGBrgb(120, 137, 31)
HSLhsl(70, 63%, 33%)
OKLCHoklch(59.7% 0.128 118.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 #78891F 3.89:1 AA large text Lc -71.7 Content text, not long reading
Black text on #78891F 5.39:1 AA Lc 37.8 Non-text elements, placeholder text
#78891F text on white 3.89:1 AA large text Lc 66.2 Content text, not long reading
#78891F text on black 5.39:1 AA Lc -35.4 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D6DDC3

    oklch(88.5% 0.036 119.4)

  4. Step 300

    300

    #BCC799

    oklch(80.9% 0.063 118.8)

  5. Step 400

    400

    #9AA960

    oklch(70.6% 0.099 118.5)

  6. Step 500

    500 (this color)

    #78891F

    oklch(59.7% 0.128 118.6)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4707

    oklch(37.6% 0.083 118.8)

  11. Step 950

    950

    #242A08

    oklch(27.1% 0.053 118.7)

Export this scale for Tailwind in the Tailwind colors tool

#78891F 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)#9281050.041
Deuteranopia (no green cones)#9182290.044
Tritanopia (no blue cones)#8081750.110
Achromatopsia (no color)#8181810.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #78891F

    #78891F

    oklch(59.7% 0.128 118.6)

  • #8A6CC0

    #8A6CC0

    oklch(59.6% 0.128 299)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #78891F

    #78891F

    oklch(59.7% 0.128 118.6)

  • #9D7A00

    #9D7A00

    oklch(59.7% 0.122 88.5)

  • #409452

    #409452

    oklch(59.8% 0.128 148.3)

Open the analogous palette in the generator

Split complementary

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

  • #78891F

    #78891F

    oklch(59.7% 0.128 118.6)

  • #5F7ACB

    #5F7ACB

    oklch(59.6% 0.128 268.4)

  • #A861A5

    #A861A5

    oklch(59.7% 0.128 328.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #78891F

    #78891F

    oklch(59.7% 0.128 118.6)

  • #1688C2

    #1688C2

    oklch(59.6% 0.128 238.6)

  • #BA5B7E

    #BA5B7E

    oklch(59.6% 0.128 358.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #78891F

    #78891F

    oklch(59.7% 0.128 118.6)

  • #0090A0

    #0090A0

    oklch(59.8% 0.103 208.5)

  • #8A6CC0

    #8A6CC0

    oklch(59.6% 0.128 299)

  • #BF5E52

    #BF5E52

    oklch(59.6% 0.127 28.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #78891F 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.