#AFC178

Closest named color: Tan Green (#A9BE70). oklch(78% 0.099 120), rgb(175, 193, 120).

Aa

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

About this color

#AFC178 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.099 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.014 away. Black text reads best on it, at 10.72:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.72:1
White text1.95:1

Values

HEX#AFC178
RGBrgb(175, 193, 120)
HSLhsl(75, 37%, 61%)
OKLCHoklch(78% 0.099 120)

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 #AFC178 1.95:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #AFC178 10.72:1 AAA Lc 66.2 Content text, not long reading
#AFC178 text on white 1.95:1 Fails Lc 37.7 Non-text elements, placeholder text
#AFC178 text on black 10.72:1 AAA Lc -64.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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100

    #E7EDD8

    oklch(93.6% 0.029 119.9)

  3. Step 200

    200

    #D4DFB7

    oklch(88.5% 0.055 120)

  4. Step 300

    300 (this color)

    #AFC178

    oklch(78% 0.099 120)

  5. Step 400

    400

    #95AE22

    oklch(70.8% 0.158 119.9)

  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

    #596A00

    oklch(49.3% 0.117 120.1)

  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

#AFC178 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)#CAB9730.040
Deuteranopia (no green cones)#C7B97B0.040
Tritanopia (no blue cones)#B5BAAF0.082
Achromatopsia (no color)#B9B9B90.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC178

    #AFC178

    oklch(78% 0.099 120)

  • #C1A9ED

    #C1A9ED

    oklch(78% 0.098 300.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC178

    #AFC178

    oklch(78% 0.099 120)

  • #D0B56B

    #D0B56B

    oklch(78% 0.099 90)

  • #89C996

    #89C996

    oklch(77.9% 0.098 150)

Open the analogous palette in the generator

Split complementary

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

  • #AFC178

    #AFC178

    oklch(78% 0.099 120)

  • #9FB5F7

    #9FB5F7

    oklch(78.1% 0.098 269.9)

  • #DCA1D5

    #DCA1D5

    oklch(78.1% 0.097 330.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC178

    #AFC178

    oklch(78% 0.099 120)

  • #7BC0F0

    #7BC0F0

    oklch(78% 0.098 240.1)

  • #EC9DB5

    #EC9DB5

    oklch(78.1% 0.098 359.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC178

    #AFC178

    oklch(78% 0.099 120)

  • #61C9DA

    #61C9DA

    oklch(78.1% 0.099 209.5)

  • #C1A9ED

    #C1A9ED

    oklch(78% 0.098 300.3)

  • #F09F92

    #F09F92

    oklch(77.9% 0.099 29.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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