#AFCA63

Closest named color: Light Moss Green (#A6C875). oklch(79.7% 0.133 121.6), rgb(175, 202, 99).

Aa

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

About this color

#AFCA63 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.133 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.023 away. Black text reads best on it, at 11.45:1.

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

Values

HEX#AFCA63
RGBrgb(175, 202, 99)
HSLhsl(76, 49%, 59%)
OKLCHoklch(79.7% 0.133 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 #AFCA63 1.83:1 Fails Lc -38.4 Non-text elements, placeholder text
Black text on #AFCA63 11.45:1 AAA Lc 69.6 Content text, not long reading
#AFCA63 text on white 1.83:1 Fails Lc 34.3 Non-text elements, placeholder text
#AFCA63 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

    #F3F8EA

    oklch(97.2% 0.019 122.8)

  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)

    #AFCA63

    oklch(79.7% 0.133 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

#AFCA63 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)#D4C05A0.053
Deuteranopia (no green cones)#D1BF690.056
Tritanopia (no blue cones)#B6C1B30.112
Achromatopsia (no color)#BFBFBF0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCA63

    #AFCA63

    oklch(79.7% 0.133 121.6)

  • #CBAAFF

    #CBAAFF

    oklch(79.8% 0.122 301.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCA63

    #AFCA63

    oklch(79.7% 0.133 121.6)

  • #DCB94A

    #DCB94A

    oklch(79.6% 0.134 91.4)

  • #75D591

    #75D591

    oklch(79.6% 0.133 151.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFCA63

    #AFCA63

    oklch(79.7% 0.133 121.6)

  • #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.

  • #AFCA63

    #AFCA63

    oklch(79.7% 0.133 121.6)

  • #77C6FF

    #77C6FF

    oklch(79.8% 0.113 241.4)

  • #FF99B7

    #FF99B7

    oklch(79.6% 0.126 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCA63

    #AFCA63

    oklch(79.7% 0.133 121.6)

  • #24D3EE

    #24D3EE

    oklch(79.7% 0.133 211.6)

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

Similar named colors

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

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