#AFC487

Closest named color: Pale Olive (#B9CC81). oklch(78.9% 0.085 123.8), rgb(175, 196, 135).

Aa

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

About this color

#AFC487 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.085 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.029 away. Black text reads best on it, at 11.06:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.06:1
White text1.89:1

Values

HEX#AFC487
RGBrgb(175, 196, 135)
HSLhsl(81, 34%, 65%)
OKLCHoklch(78.9% 0.085 123.8)

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 #AFC487 1.89:1 Fails Lc -40.3 Non-text elements, placeholder text
Black text on #AFC487 11.06:1 AAA Lc 67.8 Content text, not long reading
#AFC487 text on white 1.89:1 Fails Lc 36.1 Non-text elements, placeholder text
#AFC487 text on black 11.06:1 AAA Lc -66.4 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)

    #AFC487

    oklch(78.9% 0.085 123.8)

  5. Step 400

    400

    #8FAE46

    oklch(70.6% 0.136 123.8)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFC487 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)#CBBD830.040
Deuteranopia (no green cones)#C8BC8A0.040
Tritanopia (no blue cones)#B3BEB40.069
Achromatopsia (no color)#BCBCBC0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC487

    #AFC487

    oklch(78.9% 0.085 123.8)

  • #C6ADE7

    #C6ADE7

    oklch(78.9% 0.085 304.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC487

    #AFC487

    oklch(78.9% 0.085 123.8)

  • #CCBA7A

    #CCBA7A

    oklch(78.9% 0.086 94.3)

  • #8FCBA1

    #8FCBA1

    oklch(79% 0.086 153.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFC487

    #AFC487

    oklch(78.9% 0.085 123.8)

  • #A9B7F2

    #A9B7F2

    oklch(79% 0.086 274)

  • #DCA6D1

    #DCA6D1

    oklch(78.8% 0.085 333.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC487

    #AFC487

    oklch(78.9% 0.085 123.8)

  • #8BC1ED

    #8BC1ED

    oklch(78.9% 0.085 243.7)

  • #EAA4B4

    #EAA4B4

    oklch(79% 0.085 4.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC487

    #AFC487

    oklch(78.9% 0.085 123.8)

  • #76C9DC

    #76C9DC

    oklch(79% 0.085 214.1)

  • #C6ADE7

    #C6ADE7

    oklch(78.9% 0.085 304.2)

  • #ECA797

    #ECA797

    oklch(79% 0.085 33.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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