#AFC856

Closest named color: Light Moss Green (#A6C875). oklch(79.1% 0.143 120.1), rgb(175, 200, 86).

Aa

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

About this color

#AFC856 is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.143 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.032 away. Black text reads best on it, at 11.21:1.

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.143)
Temperaturein between
Nearest nameLight Moss Green (#A6C875)
Black text11.21:1
White text1.87:1

Values

HEX#AFC856
RGBrgb(175, 200, 86)
HSLhsl(73, 51%, 56%)
OKLCHoklch(79.1% 0.143 120.1)

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 #AFC856 1.87:1 Fails Lc -39.5 Non-text elements, placeholder text
Black text on #AFC856 11.21:1 AAA Lc 68.6 Content text, not long reading
#AFC856 text on white 1.87:1 Fails Lc 35.3 Non-text elements, placeholder text
#AFC856 text on black 11.21:1 AAA Lc -67.2 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

    #E6EED0

    oklch(93.5% 0.041 119.3)

  3. Step 200

    200

    #D2E2A6

    oklch(88.6% 0.081 120.2)

  4. Step 300

    300 (this color)

    #AFC856

    oklch(79.1% 0.143 120.1)

  5. Step 400

    400

    #94AF00

    oklch(70.8% 0.168 120.1)

  6. Step 500

    500

    #7E9600

    oklch(63.2% 0.151 120.4)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#AFC856 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)#D3BE4A0.052
Deuteranopia (no green cones)#D0BE5D0.054
Tritanopia (no blue cones)#B8BEAF0.121
Achromatopsia (no color)#BDBDBD0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC856

    #AFC856

    oklch(79.1% 0.143 120.1)

  • #C7A8FF

    #C7A8FF

    oklch(79.1% 0.125 299.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC856

    #AFC856

    oklch(79.1% 0.143 120.1)

  • #DEB63A

    #DEB63A

    oklch(79.1% 0.143 90.2)

  • #70D489

    #70D489

    oklch(79% 0.142 150.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFC856

    #AFC856

    oklch(79.1% 0.143 120.1)

  • #A1B8FF

    #A1B8FF

    oklch(79.2% 0.105 270.1)

  • #EE98E6

    #EE98E6

    oklch(79.1% 0.142 330.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC856

    #AFC856

    oklch(79.1% 0.143 120.1)

  • #6EC5FF

    #6EC5FF

    oklch(79.2% 0.118 239.8)

  • #FF96B7

    #FF96B7

    oklch(79.2% 0.131 0.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC856

    #AFC856

    oklch(79.1% 0.143 120.1)

  • #00D2EB

    #00D2EB

    oklch(79.1% 0.137 209.9)

  • #C7A8FF

    #C7A8FF

    oklch(79.1% 0.125 299.9)

  • #FF9C8C

    #FF9C8C

    oklch(79% 0.122 29.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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