#AFCA43

Closest named color: Yellow Green (#9ACD32). oklch(79.4% 0.161 120), rgb(175, 202, 67).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.161)
Temperaturein between
Nearest nameYellow Green (#9ACD32)
Black text11.35:1
White text1.84:1

Values

HEX#AFCA43
RGBrgb(175, 202, 67)
HSLhsl(72, 56%, 53%)
OKLCHoklch(79.4% 0.161 120)

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 #AFCA43 1.84:1 Fails Lc -38.8 Non-text elements, placeholder text
Black text on #AFCA43 11.35:1 AAA Lc 69.2 Content text, not long reading
#AFCA43 text on white 1.84:1 Fails Lc 34.7 Non-text elements, placeholder text
#AFCA43 text on black 11.35:1 AAA Lc -67.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

    #F3F8E8

    oklch(97.1% 0.022 121)

  2. Step 100

    100

    #E5EFCD

    oklch(93.6% 0.046 120.6)

  3. Step 200

    200

    #D1E2A0

    oklch(88.4% 0.088 120)

  4. Step 300

    300 (this color)

    #AFCA43

    oklch(79.4% 0.161 120)

  5. Step 400

    400

    #94AE00

    oklch(70.6% 0.167 119.8)

  6. Step 500

    500

    #7F9600

    oklch(63.3% 0.15 120)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#AFCA43 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)#D6BF2F0.056
Deuteranopia (no green cones)#D3BF4D0.059
Tritanopia (no blue cones)#B9C0AF0.136
Achromatopsia (no color)#BEBEBE0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCA43

    #AFCA43

    oklch(79.4% 0.161 120)

  • #C8A9FF

    #C8A9FF

    oklch(79.3% 0.123 300.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCA43

    #AFCA43

    oklch(79.4% 0.161 120)

  • #E4B50C

    #E4B50C

    oklch(79.3% 0.16 89.6)

  • #64D883

    #64D883

    oklch(79.4% 0.16 150.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFCA43

    #AFCA43

    oklch(79.4% 0.161 120)

  • #A2B9FF

    #A2B9FF

    oklch(79.5% 0.103 270)

  • #F493EC

    #F493EC

    oklch(79.3% 0.16 330)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCA43

    #AFCA43

    oklch(79.4% 0.161 120)

  • #70C5FF

    #70C5FF

    oklch(79.2% 0.117 240.3)

  • #FF97B8

    #FF97B8

    oklch(79.3% 0.13 0.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCA43

    #AFCA43

    oklch(79.4% 0.161 120)

  • #00D3EC

    #00D3EC

    oklch(79.4% 0.137 209.8)

  • #C8A9FF

    #C8A9FF

    oklch(79.3% 0.123 300.2)

  • #FF9E8E

    #FF9E8E

    oklch(79.4% 0.119 30)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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