#A7B166

Closest named color: Tan Green (#A9BE70). oklch(73.5% 0.099 115.1), rgb(167, 177, 102).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text9.12:1
White text2.30:1

Values

HEX#A7B166
RGBrgb(167, 177, 102)
HSLhsl(68, 32%, 55%)
OKLCHoklch(73.5% 0.099 115.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 #A7B166 2.30:1 Fails Lc -50.2 Large or bold text, headings
Black text on #A7B166 9.12:1 AAA Lc 58.6 Large or bold text, headings
#A7B166 text on white 2.30:1 Fails Lc 45.4 Large or bold text, headings
#A7B166 text on black 9.12:1 AAA Lc -56.7 Large or bold text, headings

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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDE

    oklch(93.5% 0.017 113.8)

  3. Step 200

    200

    #D8DCC3

    oklch(88.5% 0.034 114.5)

  4. Step 300

    300

    #BFC698

    oklch(80.9% 0.062 114.8)

  5. Step 400

    400 (this color)

    #A7B166

    oklch(73.5% 0.099 115.1)

  6. Step 500

    500

    #879228

    oklch(63.1% 0.127 115.3)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5500

    oklch(42.8% 0.097 115.1)

  10. Step 900

    900

    #404604

    oklch(37.6% 0.083 115.3)

  11. Step 950

    950

    #262907

    oklch(27% 0.052 114.2)

Export this scale for Tailwind in the Tailwind colors tool

#A7B166 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)#BBAA600.031
Deuteranopia (no green cones)#BAAC6A0.031
Tritanopia (no blue cones)#AFA99F0.087
Achromatopsia (no color)#ABABAB0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7B166

    #A7B166

    oklch(73.5% 0.099 115.1)

  • #AE9DE2

    #AE9DE2

    oklch(73.6% 0.1 295.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7B166

    #A7B166

    oklch(73.5% 0.099 115.1)

  • #C6A55C

    #C6A55C

    oklch(73.6% 0.1 85.6)

  • #81BA82

    #81BA82

    oklch(73.5% 0.099 144.9)

Open the analogous palette in the generator

Split complementary

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

  • #A7B166

    #A7B166

    oklch(73.5% 0.099 115.1)

  • #8BA8E9

    #8BA8E9

    oklch(73.5% 0.1 265.5)

  • #C994CC

    #C994CC

    oklch(73.6% 0.098 324.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7B166

    #A7B166

    oklch(73.5% 0.099 115.1)

  • #66B3DF

    #66B3DF

    oklch(73.4% 0.1 235.4)

  • #DB8FAC

    #DB8FAC

    oklch(73.5% 0.099 355.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7B166

    #A7B166

    oklch(73.5% 0.099 115.1)

  • #4FBBC7

    #4FBBC7

    oklch(73.4% 0.099 205.3)

  • #AE9DE2

    #AE9DE2

    oklch(73.6% 0.1 295.2)

  • #E19089

    #E19089

    oklch(73.4% 0.1 25.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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