#AFCA78

Closest named color: Light Moss Green (#A6C875). oklch(80% 0.111 123.8), rgb(175, 202, 120).

Aa

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

About this color

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

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

Values

HEX#AFCA78
RGBrgb(175, 202, 120)
HSLhsl(80, 44%, 63%)
OKLCHoklch(80% 0.111 123.8)

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 #AFCA78 1.81:1 Fails Lc -38.0 Non-text elements, placeholder text
Black text on #AFCA78 11.54:1 AAA Lc 70.0 Content text, not long reading
#AFCA78 text on white 1.81:1 Fails Lc 33.9 Non-text elements, placeholder text
#AFCA78 text on black 11.54:1 AAA Lc -68.7 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

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100

    #E5EED7

    oklch(93.6% 0.032 124.5)

  3. Step 200

    200

    #D1E1B4

    oklch(88.6% 0.062 123.6)

  4. Step 300

    300 (this color)

    #AFCA78

    oklch(80% 0.111 123.8)

  5. Step 400

    400

    #8BB100

    oklch(70.6% 0.175 123.7)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  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

#AFCA78 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)#D3C1720.051
Deuteranopia (no green cones)#CFC07C0.051
Tritanopia (no blue cones)#B5C3B60.090
Achromatopsia (no color)#C0C0C00.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCA78

    #AFCA78

    oklch(80% 0.111 123.8)

  • #CDACF8

    #CDACF8

    oklch(80% 0.111 303.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCA78

    #AFCA78

    oklch(80% 0.111 123.8)

  • #D5BC65

    #D5BC65

    oklch(79.9% 0.111 93.7)

  • #82D39C

    #82D39C

    oklch(80% 0.112 153.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFCA78

    #AFCA78

    oklch(80% 0.111 123.8)

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

  • #AFCA78

    #AFCA78

    oklch(80% 0.111 123.8)

  • #7EC6FF

    #7EC6FF

    oklch(80.1% 0.109 243.6)

  • #FA9FB6

    #FA9FB6

    oklch(80% 0.111 3.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCA78

    #AFCA78

    oklch(80% 0.111 123.8)

  • #59D0E9

    #59D0E9

    oklch(80% 0.111 213.9)

  • #CDACF8

    #CDACF8

    oklch(80% 0.111 303.9)

  • #FDA38E

    #FDA38E

    oklch(80% 0.112 33.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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