#AFCA76

Closest named color: Light Moss Green (#A6C875). oklch(80% 0.114 123.5), rgb(175, 202, 118).

Aa

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

About this color

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

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

Values

HEX#AFCA76
RGBrgb(175, 202, 118)
HSLhsl(79, 44%, 63%)
OKLCHoklch(80% 0.114 123.5)

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 #AFCA76 1.82:1 Fails Lc -38.1 Non-text elements, placeholder text
Black text on #AFCA76 11.53:1 AAA Lc 69.9 Content text, not long reading
#AFCA76 text on white 1.82:1 Fails Lc 34.0 Non-text elements, placeholder text
#AFCA76 text on black 11.53:1 AAA Lc -68.6 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

    #F3F7EC

    oklch(97% 0.015 123)

  2. Step 100

    100

    #E5EED6

    oklch(93.6% 0.033 123.8)

  3. Step 200

    200

    #D1E1B3

    oklch(88.6% 0.063 123.3)

  4. Step 300

    300 (this color)

    #AFCA76

    oklch(80% 0.114 123.5)

  5. Step 400

    400

    #8CB100

    oklch(70.7% 0.174 123.3)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #647F00

    oklch(55.5% 0.136 123.2)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFCA76 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)#D3C1700.051
Deuteranopia (no green cones)#CFC07A0.051
Tritanopia (no blue cones)#B5C3B60.093
Achromatopsia (no color)#C0C0C00.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCA76

    #AFCA76

    oklch(80% 0.114 123.5)

  • #CDABFA

    #CDABFA

    oklch(79.9% 0.115 303.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCA76

    #AFCA76

    oklch(80% 0.114 123.5)

  • #D6BC63

    #D6BC63

    oklch(79.9% 0.113 93.4)

  • #81D39B

    #81D39B

    oklch(79.9% 0.114 153.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFCA76

    #AFCA76

    oklch(80% 0.114 123.5)

  • #A9B9FF

    #A9B9FF

    oklch(79.9% 0.101 274)

  • #EAA2DC

    #EAA2DC

    oklch(80% 0.113 333.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCA76

    #AFCA76

    oklch(80% 0.114 123.5)

  • #7DC6FF

    #7DC6FF

    oklch(80.1% 0.109 243.3)

  • #FB9EB6

    #FB9EB6

    oklch(79.9% 0.114 3.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCA76

    #AFCA76

    oklch(80% 0.114 123.5)

  • #55D0EA

    #55D0EA

    oklch(79.9% 0.114 214.1)

  • #CDABFA

    #CDABFA

    oklch(79.9% 0.115 303.6)

  • #FEA28D

    #FEA28D

    oklch(80% 0.114 33.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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