#A8B87F

Closest named color: Tan Green (#A9BE70). oklch(75.6% 0.079 121.1), rgb(168, 184, 127).

Aa

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

About this color

#A8B87F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.079 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.028 away. Black text reads best on it, at 9.82:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text9.82:1
White text2.13:1

Values

HEX#A8B87F
RGBrgb(168, 184, 127)
HSLhsl(77, 29%, 61%)
OKLCHoklch(75.6% 0.079 121.1)

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 #A8B87F 2.13:1 Fails Lc -46.6 Large or bold text, headings
Black text on #A8B87F 9.82:1 AAA Lc 62.0 Content text, not long reading
#A8B87F text on white 2.13:1 Fails Lc 41.9 Non-text elements, placeholder text
#A8B87F text on black 9.82:1 AAA Lc -60.3 Content text, not long reading

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 400.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BBC6A3

    oklch(80.9% 0.049 121.7)

  5. Step 400

    400 (this color)

    #A8B87F

    oklch(75.6% 0.079 121.1)

  6. Step 500

    500

    #809349

    oklch(63.1% 0.102 121.3)

  7. Step 600

    600

    #6A7D2A

    oklch(55.7% 0.11 121.1)

  8. Step 700

    700

    #58691C

    oklch(49.1% 0.103 121.1)

  9. Step 800

    800

    #48561A

    oklch(42.8% 0.085 121.3)

  10. Step 900

    900

    #3C471C

    oklch(37.7% 0.066 121.6)

  11. Step 950

    950

    #232A11

    oklch(27.1% 0.043 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#A8B87F 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)#BFB27B0.034
Deuteranopia (no green cones)#BDB1820.035
Tritanopia (no blue cones)#ADB2A90.066
Achromatopsia (no color)#B1B1B10.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8B87F

    #A8B87F

    oklch(75.6% 0.079 121.1)

  • #B8A5DB

    #B8A5DB

    oklch(75.7% 0.079 300.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8B87F

    #A8B87F

    oklch(75.6% 0.079 121.1)

  • #C2AE75

    #C2AE75

    oklch(75.5% 0.079 90.9)

  • #8BBF96

    #8BBF96

    oklch(75.7% 0.08 150.6)

Open the analogous palette in the generator

Split complementary

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

  • #A8B87F

    #A8B87F

    oklch(75.6% 0.079 121.1)

  • #9DAEE3

    #9DAEE3

    oklch(75.7% 0.079 270.7)

  • #CE9EC7

    #CE9EC7

    oklch(75.7% 0.079 331.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8B87F

    #A8B87F

    oklch(75.6% 0.079 121.1)

  • #82B7DE

    #82B7DE

    oklch(75.7% 0.079 241)

  • #DB9BAD

    #DB9BAD

    oklch(75.6% 0.08 0.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8B87F

    #A8B87F

    oklch(75.6% 0.079 121.1)

  • #70BECC

    #70BECC

    oklch(75.6% 0.079 210.3)

  • #B8A5DB

    #B8A5DB

    oklch(75.7% 0.079 300.6)

  • #DE9D91

    #DE9D91

    oklch(75.6% 0.08 30.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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