#AFCC5B

Closest named color: Light Moss Green (#A6C875). oklch(80% 0.144 121.7), rgb(175, 204, 91).

Aa

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

About this color

#AFCC5B is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.144 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.033 away. Black text reads best on it, at 11.61:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.144)
Temperaturein between
Nearest nameLight Moss Green (#A6C875)
Black text11.61:1
White text1.80:1

Values

HEX#AFCC5B
RGBrgb(175, 204, 91)
HSLhsl(75, 53%, 58%)
OKLCHoklch(80% 0.144 121.7)

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 #AFCC5B 1.80:1 Fails Lc -37.6 Non-text elements, placeholder text
Black text on #AFCC5B 11.61:1 AAA Lc 70.3 Content text, not long reading
#AFCC5B text on white 1.80:1 Fails Lc 33.6 Non-text elements, placeholder text
#AFCC5B text on black 11.61:1 AAA Lc -69.1 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

    #E5EFD0

    oklch(93.6% 0.042 121.8)

  3. Step 200

    200

    #D0E2A7

    oklch(88.5% 0.08 121.8)

  4. Step 300

    300 (this color)

    #AFCC5B

    oklch(80% 0.144 121.7)

  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

    #677F00

    oklch(55.7% 0.135 121.9)

  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

#AFCC5B 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)#D7C1500.058
Deuteranopia (no green cones)#D3C1620.058
Tritanopia (no blue cones)#B7C3B30.119
Achromatopsia (no color)#C1C1C10.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCC5B

    #AFCC5B

    oklch(80% 0.144 121.7)

  • #CCABFF

    #CCABFF

    oklch(80% 0.121 301.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCC5B

    #AFCC5B

    oklch(80% 0.144 121.7)

  • #DFBA3D

    #DFBA3D

    oklch(80% 0.143 91.9)

  • #6FD88F

    #6FD88F

    oklch(80.1% 0.143 151.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFCC5B

    #AFCC5B

    oklch(80% 0.144 121.7)

  • #A7BAFF

    #A7BAFF

    oklch(80% 0.1 272.1)

  • #F39AE7

    #F39AE7

    oklch(80% 0.143 331.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCC5B

    #AFCC5B

    oklch(80% 0.144 121.7)

  • #7AC7FF

    #7AC7FF

    oklch(80.1% 0.11 241.5)

  • #FF9BB8

    #FF9BB8

    oklch(80% 0.123 1.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCC5B

    #AFCC5B

    oklch(80% 0.144 121.7)

  • #00D5F1

    #00D5F1

    oklch(80.1% 0.139 211.4)

  • #CCABFF

    #CCABFF

    oklch(80% 0.121 301.8)

  • #FFA28F

    #FFA28F

    oklch(80.1% 0.115 32.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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