#A8B271

Closest named color: Lichen (#8FB67B). oklch(74% 0.088 115.7), rgb(168, 178, 113).

Aa

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

About this color

#A8B271 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.088 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lichen (#8FB67B), ΔE 0.032 away. Black text reads best on it, at 9.27:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest nameLichen (#8FB67B)
Black text9.27:1
White text2.26:1

Values

HEX#A8B271
RGBrgb(168, 178, 113)
HSLhsl(69, 30%, 57%)
OKLCHoklch(74% 0.088 115.7)

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 #A8B271 2.26:1 Fails Lc -49.5 Large or bold text, headings
Black text on #A8B271 9.27:1 AAA Lc 59.3 Large or bold text, headings
#A8B271 text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#A8B271 text on black 9.27:1 AAA Lc -57.5 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D8DCC6

    oklch(88.5% 0.03 115.4)

  4. Step 300

    300

    #BEC59D

    oklch(80.8% 0.055 115.7)

  5. Step 400

    400 (this color)

    #A8B271

    oklch(74% 0.088 115.7)

  6. Step 500

    500

    #87913B

    oklch(63% 0.111 115.2)

  7. Step 600

    600

    #717B0F

    oklch(55.6% 0.122 115.4)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5507

    oklch(42.8% 0.094 116)

  10. Step 900

    900

    #404612

    oklch(37.7% 0.073 115.6)

  11. Step 950

    950

    #25290C

    oklch(26.9% 0.047 116.2)

Export this scale for Tailwind in the Tailwind colors tool

#A8B271 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)#BBAC6C0.029
Deuteranopia (no green cones)#BAAD740.029
Tritanopia (no blue cones)#AFABA20.076
Achromatopsia (no color)#ACACAC0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8B271

    #A8B271

    oklch(74% 0.088 115.7)

  • #AFA0DD

    #AFA0DD

    oklch(74% 0.088 295.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8B271

    #A8B271

    oklch(74% 0.088 115.7)

  • #C4A769

    #C4A769

    oklch(74% 0.087 85.3)

  • #87BA89

    #87BA89

    oklch(74% 0.088 145.6)

Open the analogous palette in the generator

Split complementary

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

  • #A8B271

    #A8B271

    oklch(74% 0.088 115.7)

  • #91AAE3

    #91AAE3

    oklch(74% 0.088 266)

  • #C898C9

    #C898C9

    oklch(74.1% 0.087 325.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8B271

    #A8B271

    oklch(74% 0.088 115.7)

  • #72B4DB

    #72B4DB

    oklch(74% 0.088 235.6)

  • #D894AD

    #D894AD

    oklch(74.1% 0.088 355.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8B271

    #A8B271

    oklch(74% 0.088 115.7)

  • #60BBC6

    #60BBC6

    oklch(74% 0.088 205.8)

  • #AFA0DD

    #AFA0DD

    oklch(74% 0.088 295.5)

  • #DD958E

    #DD958E

    oklch(73.9% 0.088 25.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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