#7F803F

Closest named color: Drab (#828344). oklch(58.4% 0.088 109.6), rgb(127, 128, 63).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.06:1
White text4.14:1

Values

HEX#7F803F
RGBrgb(127, 128, 63)
HSLhsl(61, 34%, 37%)
OKLCHoklch(58.4% 0.088 109.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 #7F803F 4.14:1 AA large text Lc -74.0 Content text, not long reading
Black text on #7F803F 5.06:1 AA Lc 35.6 Non-text elements, placeholder text
#7F803F text on white 4.14:1 AA large text Lc 68.5 Content text, not long reading
#7F803F text on black 5.06:1 AA Lc -33.1 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #DADBCA

    oklch(88.6% 0.023 109.6)

  4. Step 300

    300

    #C2C3A6

    oklch(80.9% 0.04 108.9)

  5. Step 400

    400

    #A3A477

    oklch(70.6% 0.062 109)

  6. Step 500

    500

    #8C8E53

    oklch(63.1% 0.081 110.2)

  7. Step 600

    600 (this color)

    #7F803F

    oklch(58.4% 0.088 109.6)

  8. Step 700

    700

    #646429

    oklch(49% 0.081 109)

  9. Step 800

    800

    #515223

    oklch(42.6% 0.068 110.1)

  10. Step 900

    900

    #434422

    oklch(37.7% 0.052 110.1)

  11. Step 950

    950

    #272814

    oklch(27% 0.034 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F803F 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)#897B390.019
Deuteranopia (no green cones)#8A7E420.019
Tritanopia (no blue cones)#8779710.078
Achromatopsia (no color)#7C7C7C0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F803F

    #7F803F

    oklch(58.4% 0.088 109.6)

  • #7A73AC

    #7A73AC

    oklch(58.5% 0.086 289.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F803F

    #7F803F

    oklch(58.4% 0.088 109.6)

  • #97753A

    #97753A

    oklch(58.3% 0.088 79.4)

  • #608856

    #608856

    oklch(58.4% 0.086 139.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F803F

    #7F803F

    oklch(58.4% 0.088 109.6)

  • #5C7CB0

    #5C7CB0

    oklch(58.4% 0.089 259.8)

  • #926A9C

    #926A9C

    oklch(58.3% 0.088 319.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F803F

    #7F803F

    oklch(58.4% 0.088 109.6)

  • #3C85A5

    #3C85A5

    oklch(58.4% 0.087 229.6)

  • #A36683

    #A36683

    oklch(58.5% 0.087 350.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F803F

    #7F803F

    oklch(58.4% 0.088 109.6)

  • #298B90

    #298B90

    oklch(58.4% 0.088 200)

  • #7A73AC

    #7A73AC

    oklch(58.5% 0.086 289.1)

  • #A96666

    #A96666

    oklch(58.4% 0.087 20)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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