#AFCA64

Closest named color: Light Moss Green (#A6C875). oklch(79.7% 0.132 121.7), rgb(175, 202, 100).

Aa

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

About this color

#AFCA64 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.132 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.022 away. Black text reads best on it, at 11.45:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameLight Moss Green (#A6C875)
Black text11.45:1
White text1.83:1

Values

HEX#AFCA64
RGBrgb(175, 202, 100)
HSLhsl(76, 49%, 59%)
OKLCHoklch(79.7% 0.132 121.7)

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 #AFCA64 1.83:1 Fails Lc -38.4 Non-text elements, placeholder text
Black text on #AFCA64 11.45:1 AAA Lc 69.6 Content text, not long reading
#AFCA64 text on white 1.83:1 Fails Lc 34.3 Non-text elements, placeholder text
#AFCA64 text on black 11.45:1 AAA Lc -68.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

    #F3F8EB

    oklch(97.2% 0.018 124)

  2. Step 100

    100

    #E5EED2

    oklch(93.5% 0.038 121.7)

  3. Step 200

    200

    #D1E1AB

    oklch(88.4% 0.073 121.3)

  4. Step 300

    300 (this color)

    #AFCA64

    oklch(79.7% 0.132 121.7)

  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

    #677F00

    oklch(55.7% 0.135 121.9)

  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

#AFCA64 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)#D4C05B0.053
Deuteranopia (no green cones)#D1BF6A0.056
Tritanopia (no blue cones)#B6C1B30.111
Achromatopsia (no color)#BFBFBF0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCA64

    #AFCA64

    oklch(79.7% 0.132 121.7)

  • #CBAAFF

    #CBAAFF

    oklch(79.8% 0.122 301.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCA64

    #AFCA64

    oklch(79.7% 0.132 121.7)

  • #DCBA4C

    #DCBA4C

    oklch(79.8% 0.133 91.8)

  • #76D591

    #76D591

    oklch(79.7% 0.133 151.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFCA64

    #AFCA64

    oklch(79.7% 0.132 121.7)

  • #A5B9FF

    #A5B9FF

    oklch(79.7% 0.102 271.7)

  • #EE9CE3

    #EE9CE3

    oklch(79.7% 0.133 331.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCA64

    #AFCA64

    oklch(79.7% 0.132 121.7)

  • #77C6FF

    #77C6FF

    oklch(79.8% 0.113 241.4)

  • #FF9AB7

    #FF9AB7

    oklch(79.8% 0.125 1.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCA64

    #AFCA64

    oklch(79.7% 0.132 121.7)

  • #28D3EE

    #28D3EE

    oklch(79.8% 0.133 211.7)

  • #CBAAFF

    #CBAAFF

    oklch(79.8% 0.122 301.5)

  • #FFA08D

    #FFA08D

    oklch(79.7% 0.117 32)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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