#7C781F

Closest named color: Hazel (#8E7618). oklch(55.9% 0.107 106.8), rgb(124, 120, 31).

Aa

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

About this color

#7C781F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.107 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.029 away. White text reads best on it, at 4.60:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.56:1
White text4.60:1

Values

HEX#7C781F
RGBrgb(124, 120, 31)
HSLhsl(57, 60%, 30%)
OKLCHoklch(55.9% 0.107 106.8)

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 #7C781F 4.60:1 AA Lc -77.3 Fine for body text
Black text on #7C781F 4.56:1 AA Lc 32.2 Non-text elements, placeholder text
#7C781F text on white 4.60:1 AA Lc 71.9 Content text, not long reading
#7C781F text on black 4.56:1 AA Lc -29.8 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

    #EBEBE0

    oklch(93.7% 0.015 106.7)

  3. Step 200

    200

    #DBDBC7

    oklch(88.6% 0.027 106.9)

  4. Step 300

    300

    #C4C3A0

    oklch(80.9% 0.047 106.1)

  5. Step 400

    400

    #A6A46B

    oklch(70.7% 0.077 106.5)

  6. Step 500

    500

    #908D41

    oklch(63% 0.099 106.9)

  7. Step 600

    600 (this color)

    #7C781F

    oklch(55.9% 0.107 106.8)

  8. Step 700

    700

    #68640E

    oklch(49.2% 0.1 106.7)

  9. Step 800

    800

    #555211

    oklch(42.9% 0.083 106.7)

  10. Step 900

    900

    #464417

    oklch(37.8% 0.064 106.7)

  11. Step 950

    950

    #29280F

    oklch(27.1% 0.041 106.7)

Export this scale for Tailwind in the Tailwind colors tool

#7C781F 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)#83730F0.016
Deuteranopia (no green cones)#8477260.015
Tritanopia (no blue cones)#8570670.097
Achromatopsia (no color)#7575750.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C781F

    #7C781F

    oklch(55.9% 0.107 106.8)

  • #706AB0

    #706AB0

    oklch(56% 0.107 286.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C781F

    #7C781F

    oklch(55.9% 0.107 106.8)

  • #976B1B

    #976B1B

    oklch(56% 0.107 77.2)

  • #558341

    #558341

    oklch(56% 0.108 136.9)

Open the analogous palette in the generator

Split complementary

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

  • #7C781F

    #7C781F

    oklch(55.9% 0.107 106.8)

  • #4975B2

    #4975B2

    oklch(55.9% 0.107 256.8)

  • #8D5F9E

    #8D5F9E

    oklch(55.9% 0.108 316.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C781F

    #7C781F

    oklch(55.9% 0.107 106.8)

  • #0380A5

    #0380A5

    oklch(56% 0.108 227.1)

  • #A15981

    #A15981

    oklch(56% 0.107 346.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C781F

    #7C781F

    oklch(55.9% 0.107 106.8)

  • #008587

    #008587

    oklch(55.9% 0.095 196.6)

  • #706AB0

    #706AB0

    oklch(56% 0.107 286.3)

  • #AA585E

    #AA585E

    oklch(56% 0.107 16.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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