#AFCC73

Closest named color: Pale Olive Green (#B1D27B). oklch(80.4% 0.12 123.8), rgb(175, 204, 115).

Aa

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

About this color

#AFCC73 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.120 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.017 away. Black text reads best on it, at 11.70:1.

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

Values

HEX#AFCC73
RGBrgb(175, 204, 115)
HSLhsl(80, 47%, 63%)
OKLCHoklch(80.4% 0.12 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 #AFCC73 1.79:1 Fails Lc -37.2 Non-text elements, placeholder text
Black text on #AFCC73 11.70:1 AAA Lc 70.7 Content text, not long reading
#AFCC73 text on white 1.79:1 Fails Lc 33.2 Non-text elements, placeholder text
#AFCC73 text on black 11.70:1 AAA Lc -69.5 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

    #E5EED5

    oklch(93.6% 0.034 123.2)

  3. Step 200

    200

    #D0E1B1

    oklch(88.5% 0.066 123.6)

  4. Step 300

    300 (this color)

    #AFCC73

    oklch(80.4% 0.12 123.8)

  5. Step 400

    400

    #8BB100

    oklch(70.6% 0.175 123.7)

  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

    #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

#AFCC73 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)#D5C26C0.054
Deuteranopia (no green cones)#D1C1780.055
Tritanopia (no blue cones)#B5C4B70.098
Achromatopsia (no color)#C1C1C10.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCC73

    #AFCC73

    oklch(80.4% 0.12 123.8)

  • #CFABFE

    #CFABFE

    oklch(80.3% 0.12 303.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCC73

    #AFCC73

    oklch(80.4% 0.12 123.8)

  • #D8BD5E

    #D8BD5E

    oklch(80.3% 0.119 93.7)

  • #7DD69B

    #7DD69B

    oklch(80.4% 0.121 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFCC73

    #AFCC73

    oklch(80.4% 0.12 123.8)

  • #ABBBFF

    #ABBBFF

    oklch(80.5% 0.098 273.8)

  • #EEA1DF

    #EEA1DF

    oklch(80.3% 0.12 333.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCC73

    #AFCC73

    oklch(80.4% 0.12 123.8)

  • #80C7FF

    #80C7FF

    oklch(80.4% 0.107 243.5)

  • #FF9EB6

    #FF9EB6

    oklch(80.4% 0.118 4.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCC73

    #AFCC73

    oklch(80.4% 0.12 123.8)

  • #4CD3EE

    #4CD3EE

    oklch(80.5% 0.12 213.7)

  • #CFABFE

    #CFABFE

    oklch(80.3% 0.12 303.7)

  • #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 #AFCC73, closest first.

Similar named colors

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

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