#7E780F

Closest named color: Olive (#808000). oklch(56% 0.115 105.9), rgb(126, 120, 15).

Aa

White text reads best on this color (4.58:1).

About this color

#7E780F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.115 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.025 away. White text reads best on it, at 4.58:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.115)
Temperaturewarm
Nearest nameOlive (#808000)
Black text4.58:1
White text4.58:1

Values

HEX#7E780F
RGBrgb(126, 120, 15)
HSLhsl(57, 79%, 28%)
OKLCHoklch(56% 0.115 105.9)

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 #7E780F 4.58:1 AA Lc -77.2 Fine for body text
Black text on #7E780F 4.58:1 AA Lc 32.4 Non-text elements, placeholder text
#7E780F text on white 4.58:1 AA Lc 71.7 Content text, not long reading
#7E780F text on black 4.58:1 AA Lc -30.0 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC5

    oklch(88.6% 0.029 107)

  4. Step 300

    300

    #C4C39D

    oklch(80.8% 0.051 106.2)

  5. Step 400

    400

    #A7A466

    oklch(70.7% 0.083 105.9)

  6. Step 500

    500

    #928D39

    oklch(63.1% 0.106 105.9)

  7. Step 600

    600 (this color)

    #7E780F

    oklch(56% 0.115 105.9)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565105

    oklch(42.6% 0.088 105.3)

  10. Step 900

    900

    #474411

    oklch(37.9% 0.07 106)

  11. Step 950

    950

    #29280C

    oklch(27.1% 0.044 107.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E780F 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)#8373000.015
Deuteranopia (no green cones)#86771A0.015
Tritanopia (no blue cones)#886F660.105
Achromatopsia (no color)#7575750.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E780F

    #7E780F

    oklch(56% 0.115 105.9)

  • #6F69B5

    #6F69B5

    oklch(56% 0.116 285.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E780F

    #7E780F

    oklch(56% 0.115 105.9)

  • #9B6A0A

    #9B6A0A

    oklch(56.2% 0.115 76.1)

  • #54843B

    #54843B

    oklch(56.2% 0.116 136)

Open the analogous palette in the generator

Split complementary

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

  • #7E780F

    #7E780F

    oklch(56% 0.115 105.9)

  • #4476B7

    #4476B7

    oklch(56.1% 0.115 255.7)

  • #8F5EA2

    #8F5EA2

    oklch(56.1% 0.115 316.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E780F

    #7E780F

    oklch(56% 0.115 105.9)

  • #0081A4

    #0081A4

    oklch(56.1% 0.107 225.4)

  • #A45783

    #A45783

    oklch(56.2% 0.115 346.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E780F

    #7E780F

    oklch(56% 0.115 105.9)

  • #008687

    #008687

    oklch(56.2% 0.096 195.7)

  • #6F69B5

    #6F69B5

    oklch(56% 0.116 285.6)

  • #AD555D

    #AD555D

    oklch(55.9% 0.115 15.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7E780F.

Similar named colors

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

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