#AFC587

Closest named color: Pale Olive (#B9CC81). oklch(79.1% 0.087 124.2), rgb(175, 197, 135).

Aa

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

About this color

#AFC587 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.087 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive (#B9CC81), ΔE 0.027 away. Black text reads best on it, at 11.15:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.15:1
White text1.88:1

Values

HEX#AFC587
RGBrgb(175, 197, 135)
HSLhsl(81, 35%, 65%)
OKLCHoklch(79.1% 0.087 124.2)

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 #AFC587 1.88:1 Fails Lc -39.9 Non-text elements, placeholder text
Black text on #AFC587 11.15:1 AAA Lc 68.2 Content text, not long reading
#AFC587 text on white 1.88:1 Fails Lc 35.7 Non-text elements, placeholder text
#AFC587 text on black 11.15:1 AAA Lc -66.8 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 300.

  1. Step 50

    50

    #F4F7EF

    oklch(97.2% 0.011 123.5)

  2. Step 100

    100

    #E6EDDB

    oklch(93.6% 0.025 124.3)

  3. Step 200

    200

    #D2DFBD

    oklch(88.5% 0.048 124.4)

  4. Step 300

    300 (this color)

    #AFC587

    oklch(79.1% 0.087 124.2)

  5. Step 400

    400

    #8EAF44

    oklch(70.7% 0.139 124.4)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526B00

    oklch(49% 0.122 124.1)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202C00

    oklch(27.2% 0.068 124.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFC587 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)#CCBE830.041
Deuteranopia (no green cones)#C9BD8A0.041
Tritanopia (no blue cones)#B3BFB50.070
Achromatopsia (no color)#BDBDBD0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC587

    #AFC587

    oklch(79.1% 0.087 124.2)

  • #C7AEE9

    #C7AEE9

    oklch(79.2% 0.086 303.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC587

    #AFC587

    oklch(79.1% 0.087 124.2)

  • #CDBB7A

    #CDBB7A

    oklch(79.2% 0.087 94.5)

  • #8ECCA2

    #8ECCA2

    oklch(79.2% 0.087 154.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFC587

    #AFC587

    oklch(79.1% 0.087 124.2)

  • #AAB7F3

    #AAB7F3

    oklch(79.1% 0.087 274.8)

  • #DEA6D2

    #DEA6D2

    oklch(79.1% 0.087 334.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC587

    #AFC587

    oklch(79.1% 0.087 124.2)

  • #8BC2EF

    #8BC2EF

    oklch(79.2% 0.086 243.8)

  • #EBA4B4

    #EBA4B4

    oklch(79.1% 0.086 4.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC587

    #AFC587

    oklch(79.1% 0.087 124.2)

  • #75CADD

    #75CADD

    oklch(79.2% 0.087 213.7)

  • #C7AEE9

    #C7AEE9

    oklch(79.2% 0.086 303.8)

  • #EDA796

    #EDA796

    oklch(79.1% 0.087 34.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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