#A6B87F

Closest named color: Tan Green (#A9BE70). oklch(75.4% 0.08 122.6), rgb(166, 184, 127).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text9.78:1
White text2.14:1

Values

HEX#A6B87F
RGBrgb(166, 184, 127)
HSLhsl(79, 29%, 61%)
OKLCHoklch(75.4% 0.08 122.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 #A6B87F 2.14:1 Fails Lc -46.8 Large or bold text, headings
Black text on #A6B87F 9.78:1 AAA Lc 61.8 Content text, not long reading
#A6B87F text on white 2.14:1 Fails Lc 42.1 Non-text elements, placeholder text
#A6B87F text on black 9.78:1 AAA Lc -60.1 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE1

    oklch(93.7% 0.015 123)

  3. Step 200

    200

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BAC6A3

    oklch(80.8% 0.05 122.9)

  5. Step 400

    400 (this color)

    #A6B87F

    oklch(75.4% 0.08 122.6)

  6. Step 500

    500

    #7E934A

    oklch(63% 0.102 122.6)

  7. Step 600

    600

    #687D2B

    oklch(55.5% 0.11 122.3)

  8. Step 700

    700

    #566A1D

    oklch(49.2% 0.104 122.9)

  9. Step 800

    800

    #47561B

    oklch(42.7% 0.085 122.2)

  10. Step 900

    900

    #3B471C

    oklch(37.6% 0.067 122.6)

  11. Step 950

    950

    #232A11

    oklch(27.1% 0.043 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#A6B87F 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)#BFB17B0.037
Deuteranopia (no green cones)#BCB1820.036
Tritanopia (no blue cones)#AAB2A90.066
Achromatopsia (no color)#B1B1B10.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #A6B87F

    #A6B87F

    oklch(75.4% 0.08 122.6)

  • #B9A4DA

    #B9A4DA

    oklch(75.5% 0.079 302.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A6B87F

    #A6B87F

    oklch(75.4% 0.08 122.6)

  • #C1AE74

    #C1AE74

    oklch(75.4% 0.079 92)

  • #88BE97

    #88BE97

    oklch(75.3% 0.08 152.9)

Open the analogous palette in the generator

Split complementary

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

  • #A6B87F

    #A6B87F

    oklch(75.4% 0.08 122.6)

  • #9EADE3

    #9EADE3

    oklch(75.6% 0.08 272.4)

  • #CE9DC6

    #CE9DC6

    oklch(75.4% 0.08 332)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A6B87F

    #A6B87F

    oklch(75.4% 0.08 122.6)

  • #82B6DE

    #82B6DE

    oklch(75.5% 0.08 242.2)

  • #DB9AAB

    #DB9AAB

    oklch(75.4% 0.081 2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A6B87F

    #A6B87F

    oklch(75.4% 0.08 122.6)

  • #6FBDCD

    #6FBDCD

    oklch(75.4% 0.08 212.3)

  • #B9A4DA

    #B9A4DA

    oklch(75.5% 0.079 302.3)

  • #DD9D8F

    #DD9D8F

    oklch(75.4% 0.08 32.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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