#7F8162

Closest named color: Brown Grey (#8D8468). oklch(59.3% 0.045 110.8), rgb(127, 129, 98).

Aa

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

About this color

#7F8162 is a medium-dark, muted yellow. In OKLCH its lightness is 59%, its chroma 0.045 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Brown Grey (#8D8468), ΔE 0.025 away. Black text reads best on it, at 5.21:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamuted (0.045)
Temperaturein between
Nearest nameBrown Grey (#8D8468)
Black text5.21:1
White text4.02:1

Values

HEX#7F8162
RGBrgb(127, 129, 98)
HSLhsl(64, 14%, 45%)
OKLCHoklch(59.3% 0.045 110.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 #7F8162 4.02:1 AA large text Lc -73.0 Content text, not long reading
Black text on #7F8162 5.21:1 AA Lc 36.6 Non-text elements, placeholder text
#7F8162 text on white 4.02:1 AA large text Lc 67.5 Content text, not long reading
#7F8162 text on black 5.21:1 AA Lc -34.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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #D9DAD2

    oklch(88.5% 0.011 112.4)

  4. Step 300

    300

    #C1C2B3

    oklch(80.9% 0.021 109.9)

  5. Step 400

    400

    #A1A38C

    oklch(70.7% 0.033 111.3)

  6. Step 500

    500

    #8A8C6F

    oklch(63% 0.042 110.8)

  7. Step 600

    600 (this color)

    #7F8162

    oklch(59.3% 0.045 110.8)

  8. Step 700

    700

    #616347

    oklch(49% 0.042 111.3)

  9. Step 800

    800

    #50513B

    oklch(42.8% 0.035 109.9)

  10. Step 900

    900

    #424333

    oklch(37.7% 0.026 110.5)

  11. Step 950

    950

    #27271E

    oklch(27% 0.016 107.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F8162 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)#867E600.012
Deuteranopia (no green cones)#867F630.012
Tritanopia (no blue cones)#837D790.040
Achromatopsia (no color)#7F7F7F0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8162

    #7F8162

    oklch(59.3% 0.045 110.8)

  • #7E7A98

    #7E7A98

    oklch(59.4% 0.046 291.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8162

    #7F8162

    oklch(59.3% 0.045 110.8)

  • #8C7C60

    #8C7C60

    oklch(59.3% 0.045 81.5)

  • #70856C

    #70856C

    oklch(59.3% 0.045 140.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F8162

    #7F8162

    oklch(59.3% 0.045 110.8)

  • #6F7F9A

    #6F7F9A

    oklch(59.3% 0.046 260.9)

  • #8B768F

    #8B768F

    oklch(59.4% 0.045 320.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8162

    #7F8162

    oklch(59.3% 0.045 110.8)

  • #638494

    #638494

    oklch(59.4% 0.045 229.3)

  • #947382

    #947382

    oklch(59.2% 0.046 349.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8162

    #7F8162

    oklch(59.3% 0.045 110.8)

  • #5E8789

    #5E8789

    oklch(59.4% 0.045 199.8)

  • #7E7A98

    #7E7A98

    oklch(59.4% 0.046 291.1)

  • #977473

    #977473

    oklch(59.3% 0.044 20.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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