#AFC780

Closest named color: Light Moss Green (#A6C875). oklch(79.5% 0.098 123.8), rgb(175, 199, 128).

Aa

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

About this color

#AFC780 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.098 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.020 away. Black text reads best on it, at 11.30:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameLight Moss Green (#A6C875)
Black text11.30:1
White text1.85:1

Values

HEX#AFC780
RGBrgb(175, 199, 128)
HSLhsl(80, 39%, 64%)
OKLCHoklch(79.5% 0.098 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 #AFC780 1.85:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #AFC780 11.30:1 AAA Lc 68.9 Content text, not long reading
#AFC780 text on white 1.85:1 Fails Lc 35.0 Non-text elements, placeholder text
#AFC780 text on black 11.30:1 AAA Lc -67.5 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

    #F3F7EE

    oklch(97.1% 0.013 126.4)

  2. Step 100

    100

    #E6EDD9

    oklch(93.5% 0.028 122.7)

  3. Step 200

    200

    #D1E0B9

    oklch(88.5% 0.054 124.6)

  4. Step 300

    300 (this color)

    #AFC780

    oklch(79.5% 0.098 123.8)

  5. Step 400

    400

    #8DB02E

    oklch(70.7% 0.157 123.8)

  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

#AFC780 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)#CFBF7B0.046
Deuteranopia (no green cones)#CBBE830.045
Tritanopia (no blue cones)#B4C0B50.080
Achromatopsia (no color)#BEBEBE0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC780

    #AFC780

    oklch(79.5% 0.098 123.8)

  • #C9ADF0

    #C9ADF0

    oklch(79.5% 0.098 303.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC780

    #AFC780

    oklch(79.5% 0.098 123.8)

  • #D1BB70

    #D1BB70

    oklch(79.4% 0.098 93.6)

  • #89CF9F

    #89CF9F

    oklch(79.5% 0.098 153.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFC780

    #AFC780

    oklch(79.5% 0.098 123.8)

  • #A8B8FB

    #A8B8FB

    oklch(79.5% 0.097 273.7)

  • #E3A4D6

    #E3A4D6

    oklch(79.4% 0.099 334)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC780

    #AFC780

    oklch(79.5% 0.098 123.8)

  • #84C3F7

    #84C3F7

    oklch(79.4% 0.098 244.4)

  • #F2A1B5

    #F2A1B5

    oklch(79.4% 0.099 3.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC780

    #AFC780

    oklch(79.5% 0.098 123.8)

  • #69CCE2

    #69CCE2

    oklch(79.3% 0.098 214.1)

  • #C9ADF0

    #C9ADF0

    oklch(79.5% 0.098 303.4)

  • #F4A593

    #F4A593

    oklch(79.5% 0.098 33.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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