#AFCD54

Closest named color: Pale Olive Green (#B1D27B). oklch(80.2% 0.151 121.6), rgb(175, 205, 84).

Aa

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

About this color

#AFCD54 is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.151 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive Green (#B1D27B), ΔE 0.038 away. Black text reads best on it, at 11.68:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.151)
Temperaturein between
Nearest namePale Olive Green (#B1D27B)
Black text11.68:1
White text1.79:1

Values

HEX#AFCD54
RGBrgb(175, 205, 84)
HSLhsl(75, 55%, 57%)
OKLCHoklch(80.2% 0.151 121.6)

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 #AFCD54 1.79:1 Fails Lc -37.3 Non-text elements, placeholder text
Black text on #AFCD54 11.68:1 AAA Lc 70.6 Content text, not long reading
#AFCD54 text on white 1.79:1 Fails Lc 33.2 Non-text elements, placeholder text
#AFCD54 text on black 11.68:1 AAA Lc -69.4 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

    #F3F8E9

    oklch(97.1% 0.02 121.8)

  2. Step 100

    100

    #E5EFCF

    oklch(93.6% 0.044 121.4)

  3. Step 200

    200

    #D0E2A4

    oklch(88.4% 0.084 121.3)

  4. Step 300

    300 (this color)

    #AFCD54

    oklch(80.2% 0.151 121.6)

  5. Step 400

    400

    #90B000

    oklch(70.8% 0.171 121.8)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677E00

    oklch(55.5% 0.134 121.5)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFCD54 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)#D8C2470.059
Deuteranopia (no green cones)#D5C15C0.062
Tritanopia (no blue cones)#B7C3B30.126
Achromatopsia (no color)#C1C1C10.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCD54

    #AFCD54

    oklch(80.2% 0.151 121.6)

  • #CCACFF

    #CCACFF

    oklch(80.2% 0.119 301.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCD54

    #AFCD54

    oklch(80.2% 0.151 121.6)

  • #E2BA30

    #E2BA30

    oklch(80.2% 0.151 91.5)

  • #6ADA8C

    #6ADA8C

    oklch(80.3% 0.151 151.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFCD54

    #AFCD54

    oklch(80.2% 0.151 121.6)

  • #A7BBFF

    #A7BBFF

    oklch(80.2% 0.099 271.4)

  • #F698EA

    #F698EA

    oklch(80.2% 0.151 331.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCD54

    #AFCD54

    oklch(80.2% 0.151 121.6)

  • #7BC7FF

    #7BC7FF

    oklch(80.2% 0.11 241.8)

  • #FF9CB9

    #FF9CB9

    oklch(80.2% 0.122 1.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCD54

    #AFCD54

    oklch(80.2% 0.151 121.6)

  • #00D5F2

    #00D5F2

    oklch(80.1% 0.14 212)

  • #CCACFF

    #CCACFF

    oklch(80.2% 0.119 301.5)

  • #FFA290

    #FFA290

    oklch(80.1% 0.114 31.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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