#7F852C

Closest named color: Khaki Green (#728639). oklch(59.4% 0.111 113), rgb(127, 133, 44).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.29:1
White text3.96:1

Values

HEX#7F852C
RGBrgb(127, 133, 44)
HSLhsl(64, 50%, 35%)
OKLCHoklch(59.4% 0.111 113)

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 #7F852C 3.96:1 AA large text Lc -72.4 Content text, not long reading
Black text on #7F852C 5.29:1 AA Lc 37.1 Non-text elements, placeholder text
#7F852C text on white 3.96:1 AA large text Lc 66.9 Content text, not long reading
#7F852C text on black 5.29:1 AA Lc -34.7 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 500.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #D9DCC5

    oklch(88.6% 0.031 113.1)

  4. Step 300

    300

    #C0C59D

    oklch(80.9% 0.054 113.4)

  5. Step 400

    400

    #A1A766

    oklch(70.8% 0.087 112.9)

  6. Step 500

    500 (this color)

    #7F852C

    oklch(59.4% 0.111 113)

  7. Step 600

    600

    #747A09

    oklch(55.6% 0.121 113.2)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505404

    oklch(42.8% 0.093 112.9)

  10. Step 900

    900

    #424511

    oklch(37.6% 0.072 112.6)

  11. Step 950

    950

    #27290C

    oklch(27.1% 0.046 112.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F852C 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)#8F7F200.027
Deuteranopia (no green cones)#8F81320.028
Tritanopia (no blue cones)#877D730.099
Achromatopsia (no color)#8080800.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F852C

    #7F852C

    oklch(59.4% 0.111 113)

  • #8171BB

    #8171BB

    oklch(59.4% 0.112 292.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F852C

    #7F852C

    oklch(59.4% 0.111 113)

  • #9E771E

    #9E771E

    oklch(59.3% 0.111 83.1)

  • #548F51

    #548F51

    oklch(59.4% 0.111 143)

Open the analogous palette in the generator

Split complementary

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

  • #7F852C

    #7F852C

    oklch(59.4% 0.111 113)

  • #5B7DC1

    #5B7DC1

    oklch(59.4% 0.112 263.2)

  • #9E66A5

    #9E66A5

    oklch(59.3% 0.113 322.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F852C

    #7F852C

    oklch(59.4% 0.111 113)

  • #2389B6

    #2389B6

    oklch(59.5% 0.112 232.9)

  • #B16184

    #B16184

    oklch(59.5% 0.111 353.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F852C

    #7F852C

    oklch(59.4% 0.111 113)

  • #009099

    #009099

    oklch(59.5% 0.101 202.6)

  • #8171BB

    #8171BB

    oklch(59.4% 0.112 292.6)

  • #B7615F

    #B7615F

    oklch(59.2% 0.111 22.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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