#AFCC77

Closest named color: Pale Olive Green (#B1D27B). oklch(80.4% 0.115 124.3), rgb(175, 204, 119).

Aa

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

About this color

#AFCC77 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.115 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive Green (#B1D27B), ΔE 0.016 away. Black text reads best on it, at 11.72:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest namePale Olive Green (#B1D27B)
Black text11.72:1
White text1.79:1

Values

HEX#AFCC77
RGBrgb(175, 204, 119)
HSLhsl(80, 45%, 63%)
OKLCHoklch(80.4% 0.115 124.3)

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 #AFCC77 1.79:1 Fails Lc -37.1 Non-text elements, placeholder text
Black text on #AFCC77 11.72:1 AAA Lc 70.8 Content text, not long reading
#AFCC77 text on white 1.79:1 Fails Lc 33.1 Non-text elements, placeholder text
#AFCC77 text on black 11.72:1 AAA Lc -69.6 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

    #F3F7EC

    oklch(97% 0.015 123)

  2. Step 100

    100

    #E5EED6

    oklch(93.6% 0.033 123.8)

  3. Step 200

    200

    #D0E1B3

    oklch(88.5% 0.064 124.2)

  4. Step 300

    300 (this color)

    #AFCC77

    oklch(80.4% 0.115 124.3)

  5. Step 400

    400

    #89B200

    oklch(70.8% 0.177 124.5)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  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

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFCC77 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)#D5C2700.054
Deuteranopia (no green cones)#D1C17B0.055
Tritanopia (no blue cones)#B4C5B70.092
Achromatopsia (no color)#C1C1C10.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCC77

    #AFCC77

    oklch(80.4% 0.115 124.3)

  • #D0ACFC

    #D0ACFC

    oklch(80.4% 0.117 304.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCC77

    #AFCC77

    oklch(80.4% 0.115 124.3)

  • #D7BE62

    #D7BE62

    oklch(80.4% 0.116 94.4)

  • #80D59D

    #80D59D

    oklch(80.4% 0.115 154.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFCC77

    #AFCC77

    oklch(80.4% 0.115 124.3)

  • #ABBBFF

    #ABBBFF

    oklch(80.5% 0.098 273.8)

  • #EDA3DD

    #EDA3DD

    oklch(80.5% 0.114 334.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCC77

    #AFCC77

    oklch(80.4% 0.115 124.3)

  • #82C7FF

    #82C7FF

    oklch(80.5% 0.106 244.1)

  • #FE9FB6

    #FE9FB6

    oklch(80.4% 0.116 4.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCC77

    #AFCC77

    oklch(80.4% 0.115 124.3)

  • #54D2ED

    #54D2ED

    oklch(80.4% 0.116 214.5)

  • #D0ACFC

    #D0ACFC

    oklch(80.4% 0.117 304.5)

  • #FFA48E

    #FFA48E

    oklch(80.4% 0.113 34.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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