#AFCD4C

Closest named color: Yellow Green (#9ACD32). oklch(80.1% 0.158 121.2), rgb(175, 205, 76).

Aa

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

About this color

#AFCD4C is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.158 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Yellow Green (#9ACD32), ΔE 0.035 away. Black text reads best on it, at 11.65:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.158)
Temperaturein between
Nearest nameYellow Green (#9ACD32)
Black text11.65:1
White text1.80:1

Values

HEX#AFCD4C
RGBrgb(175, 205, 76)
HSLhsl(74, 56%, 55%)
OKLCHoklch(80.1% 0.158 121.2)

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 #AFCD4C 1.80:1 Fails Lc -37.4 Non-text elements, placeholder text
Black text on #AFCD4C 11.65:1 AAA Lc 70.5 Content text, not long reading
#AFCD4C text on white 1.80:1 Fails Lc 33.3 Non-text elements, placeholder text
#AFCD4C text on black 11.65:1 AAA Lc -69.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

    #F3F8E8

    oklch(97.1% 0.022 121)

  2. Step 100

    100

    #E5EFCE

    oklch(93.6% 0.045 121)

  3. Step 200

    200

    #D0E3A2

    oklch(88.6% 0.087 121.4)

  4. Step 300

    300 (this color)

    #AFCD4C

    oklch(80.1% 0.158 121.2)

  5. Step 400

    400

    #91AF00

    oklch(70.6% 0.17 121.2)

  6. Step 500

    500

    #7C9600

    oklch(63% 0.151 121.2)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFCD4C 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)#D9C13C0.061
Deuteranopia (no green cones)#D5C1550.062
Tritanopia (no blue cones)#B8C3B20.132
Achromatopsia (no color)#C1C1C10.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCD4C

    #AFCD4C

    oklch(80.1% 0.158 121.2)

  • #CBACFF

    #CBACFF

    oklch(80.1% 0.119 300.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCD4C

    #AFCD4C

    oklch(80.1% 0.158 121.2)

  • #E4B920

    #E4B920

    oklch(80.1% 0.157 91)

  • #65DA89

    #65DA89

    oklch(80% 0.157 151.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFCD4C

    #AFCD4C

    oklch(80.1% 0.158 121.2)

  • #A6BBFF

    #A6BBFF

    oklch(80.1% 0.1 270.8)

  • #F796EC

    #F796EC

    oklch(80.1% 0.157 331.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCD4C

    #AFCD4C

    oklch(80.1% 0.158 121.2)

  • #79C7FF

    #79C7FF

    oklch(80.1% 0.111 241.2)

  • #FF9CB9

    #FF9CB9

    oklch(80.2% 0.122 1.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCD4C

    #AFCD4C

    oklch(80.1% 0.158 121.2)

  • #00D5F1

    #00D5F1

    oklch(80.1% 0.139 211.4)

  • #CBACFF

    #CBACFF

    oklch(80.1% 0.119 300.9)

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

Similar named colors

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

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