#AFC684

Closest named color: Pale Olive (#B9CC81). oklch(79.3% 0.092 124.1), rgb(175, 198, 132).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.23:1
White text1.86:1

Values

HEX#AFC684
RGBrgb(175, 198, 132)
HSLhsl(81, 37%, 65%)
OKLCHoklch(79.3% 0.092 124.1)

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 #AFC684 1.86:1 Fails Lc -39.5 Non-text elements, placeholder text
Black text on #AFC684 11.23:1 AAA Lc 68.6 Content text, not long reading
#AFC684 text on white 1.86:1 Fails Lc 35.3 Non-text elements, placeholder text
#AFC684 text on black 11.23:1 AAA Lc -67.2 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

    #E6EDDA

    oklch(93.6% 0.026 123.4)

  3. Step 200

    200

    #D2DFBB

    oklch(88.4% 0.05 123.6)

  4. Step 300

    300 (this color)

    #AFC684

    oklch(79.3% 0.092 124.1)

  5. Step 400

    400

    #8EAF3B

    oklch(70.6% 0.147 123.8)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  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

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFC684 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)#CDBE7F0.043
Deuteranopia (no green cones)#CABD870.044
Tritanopia (no blue cones)#B4C0B50.074
Achromatopsia (no color)#BDBDBD0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC684

    #AFC684

    oklch(79.3% 0.092 124.1)

  • #C8ADEC

    #C8ADEC

    oklch(79.3% 0.092 304)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC684

    #AFC684

    oklch(79.3% 0.092 124.1)

  • #CFBB76

    #CFBB76

    oklch(79.4% 0.091 93.8)

  • #8CCDA1

    #8CCDA1

    oklch(79.3% 0.091 154.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFC684

    #AFC684

    oklch(79.3% 0.092 124.1)

  • #A9B8F7

    #A9B8F7

    oklch(79.4% 0.091 273.8)

  • #E0A6D4

    #E0A6D4

    oklch(79.3% 0.091 333.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC684

    #AFC684

    oklch(79.3% 0.092 124.1)

  • #88C2F3

    #88C2F3

    oklch(79.2% 0.092 244.8)

  • #EEA3B5

    #EEA3B5

    oklch(79.3% 0.091 3.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC684

    #AFC684

    oklch(79.3% 0.092 124.1)

  • #70CBE0

    #70CBE0

    oklch(79.3% 0.092 214.5)

  • #C8ADEC

    #C8ADEC

    oklch(79.3% 0.092 304)

  • #F0A695

    #F0A695

    oklch(79.2% 0.092 33.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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