#AFC486

Closest named color: Pale Olive (#B9CC81). oklch(78.9% 0.086 123.6), rgb(175, 196, 134).

Aa

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

About this color

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

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

Values

HEX#AFC486
RGBrgb(175, 196, 134)
HSLhsl(80, 34%, 65%)
OKLCHoklch(78.9% 0.086 123.6)

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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E6EDDB

    oklch(93.6% 0.025 124.3)

  3. Step 200

    200

    #D2DFBC

    oklch(88.5% 0.049 124)

  4. Step 300

    300 (this color)

    #AFC486

    oklch(78.9% 0.086 123.6)

  5. Step 400

    400

    #90AE44

    oklch(70.6% 0.137 123.3)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #648000

    oklch(55.8% 0.138 123.5)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  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

#AFC486 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)#CBBD820.040
Deuteranopia (no green cones)#C8BC890.040
Tritanopia (no blue cones)#B3BEB40.070
Achromatopsia (no color)#BCBCBC0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC486

    #AFC486

    oklch(78.9% 0.086 123.6)

  • #C6ADE8

    #C6ADE8

    oklch(78.9% 0.086 303.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC486

    #AFC486

    oklch(78.9% 0.086 123.6)

  • #CDBA79

    #CDBA79

    oklch(79% 0.087 93.7)

  • #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°).

  • #AFC486

    #AFC486

    oklch(78.9% 0.086 123.6)

  • #A8B7F2

    #A8B7F2

    oklch(78.9% 0.086 273.3)

  • #DDA6D2

    #DDA6D2

    oklch(79% 0.087 333.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC486

    #AFC486

    oklch(78.9% 0.086 123.6)

  • #8AC1EE

    #8AC1EE

    oklch(78.9% 0.086 243.9)

  • #EAA3B4

    #EAA3B4

    oklch(78.8% 0.087 3.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC486

    #AFC486

    oklch(78.9% 0.086 123.6)

  • #74C9DC

    #74C9DC

    oklch(78.9% 0.087 213.8)

  • #C6ADE8

    #C6ADE8

    oklch(78.9% 0.086 303.8)

  • #ECA696

    #ECA696

    oklch(78.8% 0.087 33.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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