#7F812E

Closest named color: Khaki Green (#728639). oklch(58.5% 0.105 110.6), rgb(127, 129, 46).

Aa

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

About this color

#7F812E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.105 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.021 away. Black text reads best on it, at 5.08:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.08:1
White text4.13:1

Values

HEX#7F812E
RGBrgb(127, 129, 46)
HSLhsl(61, 47%, 34%)
OKLCHoklch(58.5% 0.105 110.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 #7F812E 4.13:1 AA large text Lc -73.8 Content text, not long reading
Black text on #7F812E 5.08:1 AA Lc 35.7 Non-text elements, placeholder text
#7F812E text on white 4.13:1 AA large text Lc 68.3 Content text, not long reading
#7F812E text on black 5.08:1 AA Lc -33.3 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #D9DBC7

    oklch(88.4% 0.027 111.6)

  4. Step 300

    300

    #C2C4A1

    oklch(81% 0.047 110.1)

  5. Step 400

    400

    #A3A56D

    oklch(70.7% 0.076 109.9)

  6. Step 500

    500

    #8C8F45

    oklch(63.1% 0.097 111)

  7. Step 600

    600 (this color)

    #7F812E

    oklch(58.5% 0.105 110.6)

  8. Step 700

    700

    #646516

    oklch(49.1% 0.097 110.2)

  9. Step 800

    800

    #515316

    oklch(42.7% 0.081 111.2)

  10. Step 900

    900

    #434419

    oklch(37.5% 0.063 110.3)

  11. Step 950

    950

    #272810

    oklch(26.9% 0.04 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F812E 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)#8B7B240.022
Deuteranopia (no green cones)#8C7E330.023
Tritanopia (no blue cones)#8879700.095
Achromatopsia (no color)#7D7D7D0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F812E

    #7F812E

    oklch(58.5% 0.105 110.6)

  • #7C70B5

    #7C70B5

    oklch(58.5% 0.104 290.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F812E

    #7F812E

    oklch(58.5% 0.105 110.6)

  • #9C7426

    #9C7426

    oklch(58.5% 0.105 80.3)

  • #588B4E

    #588B4E

    oklch(58.5% 0.105 140.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F812E

    #7F812E

    oklch(58.5% 0.105 110.6)

  • #577BBA

    #577BBA

    oklch(58.4% 0.106 261.1)

  • #9866A2

    #9866A2

    oklch(58.5% 0.106 320.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F812E

    #7F812E

    oklch(58.5% 0.105 110.6)

  • #2586AE

    #2586AE

    oklch(58.4% 0.105 230.7)

  • #AA6084

    #AA6084

    oklch(58.4% 0.106 350.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F812E

    #7F812E

    oklch(58.5% 0.105 110.6)

  • #008D93

    #008D93

    oklch(58.5% 0.099 200.1)

  • #7C70B5

    #7C70B5

    oklch(58.5% 0.104 290.8)

  • #B26061

    #B26061

    oklch(58.5% 0.106 20.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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