#ABAF87

Closest named color: Bland (#AFA88B). oklch(74% 0.055 112.4), rgb(171, 175, 135).

Aa

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

About this color

#ABAF87 is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.055 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.022 away. Black text reads best on it, at 9.21:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.055)
Temperaturein between
Nearest nameBland (#AFA88B)
Black text9.21:1
White text2.27:1

Values

HEX#ABAF87
RGBrgb(171, 175, 135)
HSLhsl(66, 20%, 61%)
OKLCHoklch(74% 0.055 112.4)

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 #ABAF87 2.27:1 Fails Lc -49.8 Large or bold text, headings
Black text on #ABAF87 9.21:1 AAA Lc 59.0 Large or bold text, headings
#ABAF87 text on white 2.27:1 Fails Lc 44.9 Non-text elements, placeholder text
#ABAF87 text on black 9.21:1 AAA Lc -57.2 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE3

    oklch(93.7% 0.011 112.4)

  3. Step 200

    200

    #D9DBCC

    oklch(88.6% 0.02 113)

  4. Step 300

    300

    #C0C3AA

    oklch(80.8% 0.034 112.7)

  5. Step 400

    400 (this color)

    #ABAF87

    oklch(74% 0.055 112.4)

  6. Step 500

    500

    #8A8E5C

    oklch(63.1% 0.07 112.1)

  7. Step 600

    600

    #747841

    oklch(55.6% 0.077 112.3)

  8. Step 700

    700

    #616533

    oklch(49.1% 0.072 112.8)

  9. Step 800

    800

    #4F522B

    oklch(42.6% 0.058 112.5)

  10. Step 900

    900

    #424427

    oklch(37.7% 0.046 111.8)

  11. Step 950

    950

    #272817

    oklch(27.1% 0.029 111.1)

Export this scale for Tailwind in the Tailwind colors tool

#ABAF87 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)#B5AB850.016
Deuteranopia (no green cones)#B5AC890.017
Tritanopia (no blue cones)#B0AAA40.048
Achromatopsia (no color)#ACACAC0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #ABAF87

    #ABAF87

    oklch(74% 0.055 112.4)

  • #ABA5CB

    #ABA5CB

    oklch(74% 0.055 292.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ABAF87

    #ABAF87

    oklch(74% 0.055 112.4)

  • #BCA884

    #BCA884

    oklch(74% 0.054 82.1)

  • #97B494

    #97B494

    oklch(73.9% 0.055 142.5)

Open the analogous palette in the generator

Split complementary

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

  • #ABAF87

    #ABAF87

    oklch(74% 0.055 112.4)

  • #98ACCF

    #98ACCF

    oklch(74.1% 0.056 261.6)

  • #BCA0C0

    #BCA0C0

    oklch(74.1% 0.055 322.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ABAF87

    #ABAF87

    oklch(74% 0.055 112.4)

  • #88B2C8

    #88B2C8

    oklch(74.1% 0.055 231.2)

  • #C89DAE

    #C89DAE

    oklch(74.1% 0.056 352.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ABAF87

    #ABAF87

    oklch(74% 0.055 112.4)

  • #81B6BA

    #81B6BA

    oklch(74.1% 0.056 201.9)

  • #ABA5CB

    #ABA5CB

    oklch(74% 0.055 292.2)

  • #CC9E9B

    #CC9E9B

    oklch(74.1% 0.055 22.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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