#AFC657

Closest named color: Light Olive Green (#A4BE5C). oklch(78.6% 0.14 119.5), rgb(175, 198, 87).

Aa

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

About this color

#AFC657 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.140 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive Green (#A4BE5C), ΔE 0.028 away. Black text reads best on it, at 11.03:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text11.03:1
White text1.90:1

Values

HEX#AFC657
RGBrgb(175, 198, 87)
HSLhsl(72, 49%, 56%)
OKLCHoklch(78.6% 0.14 119.5)

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 #AFC657 1.90:1 Fails Lc -40.4 Non-text elements, placeholder text
Black text on #AFC657 11.03:1 AAA Lc 67.7 Content text, not long reading
#AFC657 text on white 1.90:1 Fails Lc 36.2 Non-text elements, placeholder text
#AFC657 text on black 11.03:1 AAA Lc -66.3 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

    #F4F8EA

    oklch(97.2% 0.019 119.7)

  2. Step 100

    100

    #E6EED0

    oklch(93.5% 0.041 119.3)

  3. Step 200

    200

    #D3E1A7

    oklch(88.5% 0.078 119)

  4. Step 300

    300 (this color)

    #AFC657

    oklch(78.6% 0.14 119.5)

  5. Step 400

    400

    #95AE00

    oklch(70.7% 0.167 119.5)

  6. Step 500

    500

    #7F9500

    oklch(63% 0.149 119.6)

  7. Step 600

    600

    #6B7D00

    oklch(55.5% 0.131 119.3)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFC657 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)#D1BC4C0.050
Deuteranopia (no green cones)#CFBC5E0.053
Tritanopia (no blue cones)#B8BDAE0.118
Achromatopsia (no color)#BCBCBC0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC657

    #AFC657

    oklch(78.6% 0.14 119.5)

  • #C5A6FF

    #C5A6FF

    oklch(78.5% 0.128 299.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC657

    #AFC657

    oklch(78.6% 0.14 119.5)

  • #DDB43E

    #DDB43E

    oklch(78.6% 0.139 89.1)

  • #72D288

    #72D288

    oklch(78.6% 0.139 149.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFC657

    #AFC657

    oklch(78.6% 0.14 119.5)

  • #9EB6FF

    #9EB6FF

    oklch(78.6% 0.108 269.8)

  • #EB97E4

    #EB97E4

    oklch(78.6% 0.14 329.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC657

    #AFC657

    oklch(78.6% 0.14 119.5)

  • #69C4FF

    #69C4FF

    oklch(78.7% 0.121 239.3)

  • #FF93B7

    #FF93B7

    oklch(78.7% 0.135 359.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC657

    #AFC657

    oklch(78.6% 0.14 119.5)

  • #00D0E9

    #00D0E9

    oklch(78.6% 0.136 210)

  • #C5A6FF

    #C5A6FF

    oklch(78.5% 0.128 299.5)

  • #FF9A8A

    #FF9A8A

    oklch(78.7% 0.124 29.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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