#AFCD72

Closest named color: Pale Olive Green (#B1D27B). oklch(80.6% 0.122 124.1), rgb(175, 205, 114).

Aa

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

About this color

#AFCD72 is a light, moderately saturated yellow. In OKLCH its lightness is 81%, its chroma 0.122 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.015 away. Black text reads best on it, at 11.79:1.

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

Values

HEX#AFCD72
RGBrgb(175, 205, 114)
HSLhsl(80, 48%, 63%)
OKLCHoklch(80.6% 0.122 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 #AFCD72 1.77:1 Fails Lc -36.8 Non-text elements, placeholder text
Black text on #AFCD72 11.79:1 AAA Lc 71.1 Content text, not long reading
#AFCD72 text on white 1.77:1 Fails Lc 32.8 Non-text elements, placeholder text
#AFCD72 text on black 11.79:1 AAA Lc -69.9 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

    #F3F8EC

    oklch(97.2% 0.017 125.3)

  2. Step 100

    100

    #E5EED5

    oklch(93.6% 0.034 123.2)

  3. Step 200

    200

    #CFE1B0

    oklch(88.4% 0.068 124.2)

  4. Step 300

    300 (this color)

    #AFCD72

    oklch(80.6% 0.122 124.1)

  5. Step 400

    400

    #8AB100

    oklch(70.6% 0.175 124)

  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

#AFCD72 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)#D6C36B0.056
Deuteranopia (no green cones)#D2C2770.056
Tritanopia (no blue cones)#B5C5B70.099
Achromatopsia (no color)#C2C2C20.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCD72

    #AFCD72

    oklch(80.6% 0.122 124.1)

  • #D0ACFF

    #D0ACFF

    oklch(80.6% 0.12 303.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCD72

    #AFCD72

    oklch(80.6% 0.122 124.1)

  • #D9BE5C

    #D9BE5C

    oklch(80.5% 0.122 94.1)

  • #7CD79B

    #7CD79B

    oklch(80.6% 0.123 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFCD72

    #AFCD72

    oklch(80.6% 0.122 124.1)

  • #ACBBFF

    #ACBBFF

    oklch(80.5% 0.098 274.4)

  • #F0A1E0

    #F0A1E0

    oklch(80.6% 0.123 334.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCD72

    #AFCD72

    oklch(80.6% 0.122 124.1)

  • #82C7FF

    #82C7FF

    oklch(80.5% 0.106 244.1)

  • #FF9FB7

    #FF9FB7

    oklch(80.6% 0.117 3.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCD72

    #AFCD72

    oklch(80.6% 0.122 124.1)

  • #49D3EF

    #49D3EF

    oklch(80.4% 0.122 214.1)

  • #D0ACFF

    #D0ACFF

    oklch(80.6% 0.12 303.7)

  • #FFA58F

    #FFA58F

    oklch(80.6% 0.112 34.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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