#AFC552

Closest named color: Light Olive Green (#A4BE5C). oklch(78.4% 0.143 118.9), rgb(175, 197, 82).

Aa

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

About this color

#AFC552 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.143 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive Green (#A4BE5C), ΔE 0.028 away. Black text reads best on it, at 10.93:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.143)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text10.93:1
White text1.92:1

Values

HEX#AFC552
RGBrgb(175, 197, 82)
HSLhsl(71, 50%, 55%)
OKLCHoklch(78.4% 0.143 118.9)

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 #AFC552 1.92:1 Fails Lc -40.9 Non-text elements, placeholder text
Black text on #AFC552 10.93:1 AAA Lc 67.3 Content text, not long reading
#AFC552 text on white 1.92:1 Fails Lc 36.6 Non-text elements, placeholder text
#AFC552 text on black 10.93:1 AAA Lc -65.8 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

    #F4F8E9

    oklch(97.2% 0.02 118.9)

  2. Step 100

    100

    #E6EED0

    oklch(93.5% 0.041 119.3)

  3. Step 200

    200

    #D3E1A6

    oklch(88.5% 0.079 118.9)

  4. Step 300

    300 (this color)

    #AFC552

    oklch(78.4% 0.143 118.9)

  5. Step 400

    400

    #96AE00

    oklch(70.7% 0.166 119.1)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFC552 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)#D1BB450.050
Deuteranopia (no green cones)#CEBB590.052
Tritanopia (no blue cones)#B8BBAC0.122
Achromatopsia (no color)#BBBBBB0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC552

    #AFC552

    oklch(78.4% 0.143 118.9)

  • #C4A6FF

    #C4A6FF

    oklch(78.4% 0.127 298.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC552

    #AFC552

    oklch(78.4% 0.143 118.9)

  • #DDB337

    #DDB337

    oklch(78.4% 0.143 89.2)

  • #71D285

    #71D285

    oklch(78.5% 0.143 148.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFC552

    #AFC552

    oklch(78.4% 0.143 118.9)

  • #9CB6FF

    #9CB6FF

    oklch(78.5% 0.109 268.8)

  • #EA96E5

    #EA96E5

    oklch(78.3% 0.142 328.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC552

    #AFC552

    oklch(78.4% 0.143 118.9)

  • #65C3FF

    #65C3FF

    oklch(78.4% 0.124 239.1)

  • #FF91B7

    #FF91B7

    oklch(78.4% 0.138 358.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC552

    #AFC552

    oklch(78.4% 0.143 118.9)

  • #00D0E7

    #00D0E7

    oklch(78.5% 0.135 208.8)

  • #C4A6FF

    #C4A6FF

    oklch(78.4% 0.127 298.9)

  • #FF9889

    #FF9889

    oklch(78.3% 0.126 29.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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