#807D40

Closest named color: Drab (#828344). oklch(57.8% 0.083 106.2), rgb(128, 125, 64).

Aa

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

About this color

#807D40 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.083 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.017 away. Black text reads best on it, at 4.92:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.92:1
White text4.26:1

Values

HEX#807D40
RGBrgb(128, 125, 64)
HSLhsl(57, 33%, 38%)
OKLCHoklch(57.8% 0.083 106.2)

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 #807D40 4.26:1 AA large text Lc -74.9 Content text, not long reading
Black text on #807D40 4.92:1 AA Lc 34.6 Non-text elements, placeholder text
#807D40 text on white 4.26:1 AA large text Lc 69.4 Content text, not long reading
#807D40 text on black 4.92:1 AA Lc -32.2 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 600.

  1. Step 50

    50

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EAEAE2

    oklch(93.5% 0.011 106.6)

  3. Step 200

    200

    #DADACB

    oklch(88.4% 0.02 106.8)

  4. Step 300

    300

    #C3C3A7

    oklch(81% 0.038 107.2)

  5. Step 400

    400

    #A5A378

    oklch(70.6% 0.059 105.6)

  6. Step 500

    500

    #8F8D55

    oklch(63.2% 0.077 106.6)

  7. Step 600

    600 (this color)

    #807D40

    oklch(57.8% 0.083 106.2)

  8. Step 700

    700

    #66632C

    oklch(49% 0.076 106)

  9. Step 800

    800

    #535125

    oklch(42.6% 0.064 106.5)

  10. Step 900

    900

    #454323

    oklch(37.6% 0.049 105.4)

  11. Step 950

    950

    #282715

    oklch(26.8% 0.031 105.5)

Export this scale for Tailwind in the Tailwind colors tool

#807D40 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)#86793B0.013
Deuteranopia (no green cones)#877C430.012
Tritanopia (no blue cones)#88766F0.075
Achromatopsia (no color)#7A7A7A0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #807D40

    #807D40

    oklch(57.8% 0.083 106.2)

  • #7672A9

    #7672A9

    oklch(57.8% 0.084 286.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #807D40

    #807D40

    oklch(57.8% 0.083 106.2)

  • #96733E

    #96733E

    oklch(57.9% 0.083 76.2)

  • #638553

    #638553

    oklch(57.8% 0.083 136.1)

Open the analogous palette in the generator

Split complementary

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

  • #807D40

    #807D40

    oklch(57.8% 0.083 106.2)

  • #597CAA

    #597CAA

    oklch(57.9% 0.082 255.6)

  • #8D6A9B

    #8D6A9B

    oklch(57.7% 0.084 316.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #807D40

    #807D40

    oklch(57.8% 0.083 106.2)

  • #3C849F

    #3C849F

    oklch(57.9% 0.082 225.6)

  • #9E6684

    #9E6684

    oklch(58% 0.082 346.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #807D40

    #807D40

    oklch(57.8% 0.083 106.2)

  • #30898A

    #30898A

    oklch(57.9% 0.083 196.2)

  • #7672A9

    #7672A9

    oklch(57.8% 0.084 286.8)

  • #A56569

    #A56569

    oklch(57.8% 0.083 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 #807D40, closest first.

Similar named colors

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

Use #807D40 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.