#AFBC54

Closest named color: Light Olive Green (#A4BE5C). oklch(76.4% 0.13 115.5), rgb(175, 188, 84).

Aa

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

About this color

#AFBC54 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.130 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive Green (#A4BE5C), ΔE 0.015 away. Black text reads best on it, at 10.14:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text10.14:1
White text2.07:1

Values

HEX#AFBC54
RGBrgb(175, 188, 84)
HSLhsl(68, 44%, 53%)
OKLCHoklch(76.4% 0.13 115.5)

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 #AFBC54 2.07:1 Fails Lc -44.9 Non-text elements, placeholder text
Black text on #AFBC54 10.14:1 AAA Lc 63.6 Content text, not long reading
#AFBC54 text on white 2.07:1 Fails Lc 40.3 Non-text elements, placeholder text
#AFBC54 text on black 10.14:1 AAA Lc -62.0 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

    #F5F7EA

    oklch(97.1% 0.017 113.8)

  2. Step 100

    100

    #E8EDD1

    oklch(93.5% 0.037 115.3)

  3. Step 200

    200

    #D7E0A9

    oklch(88.6% 0.073 115.5)

  4. Step 300

    300 (this color)

    #AFBC54

    oklch(76.4% 0.13 115.5)

  5. Step 400

    400

    #9DAB00

    oklch(70.6% 0.161 115.5)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6800

    oklch(49.3% 0.112 115.5)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFBC54 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)#C8B3490.039
Deuteranopia (no green cones)#C7B55A0.040
Tritanopia (no blue cones)#B9B2A50.114
Achromatopsia (no color)#B4B4B40.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBC54

    #AFBC54

    oklch(76.4% 0.13 115.5)

  • #B9A1FC

    #B9A1FC

    oklch(76.5% 0.13 295.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBC54

    #AFBC54

    oklch(76.4% 0.13 115.5)

  • #D7AB43

    #D7AB43

    oklch(76.2% 0.13 85.5)

  • #7AC87E

    #7AC87E

    oklch(76.4% 0.13 145.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFBC54

    #AFBC54

    oklch(76.4% 0.13 115.5)

  • #8EB0FF

    #8EB0FF

    oklch(76.4% 0.12 265.9)

  • #DC94DF

    #DC94DF

    oklch(76.3% 0.13 325.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBC54

    #AFBC54

    oklch(76.4% 0.13 115.5)

  • #51BEF9

    #51BEF9

    oklch(76.3% 0.13 235.8)

  • #F38EB6

    #F38EB6

    oklch(76.4% 0.13 355.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBC54

    #AFBC54

    oklch(76.4% 0.13 115.5)

  • #08C9DA

    #08C9DA

    oklch(76.3% 0.13 205.7)

  • #B9A1FC

    #B9A1FC

    oklch(76.5% 0.13 295.3)

  • #FA9087

    #FA9087

    oklch(76.4% 0.13 25.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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