#AFB557

Closest named color: Light Olive Green (#A4BE5C). oklch(74.9% 0.118 112.2), rgb(175, 181, 87).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text9.56:1
White text2.19:1

Values

HEX#AFB557
RGBrgb(175, 181, 87)
HSLhsl(64, 39%, 53%)
OKLCHoklch(74.9% 0.118 112.2)

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 #AFB557 2.19:1 Fails Lc -47.9 Large or bold text, headings
Black text on #AFB557 9.56:1 AAA Lc 60.8 Content text, not long reading
#AFB557 text on white 2.19:1 Fails Lc 43.1 Non-text elements, placeholder text
#AFB557 text on black 9.56:1 AAA Lc -59.1 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #EAECDC

    oklch(93.7% 0.021 112.6)

  3. Step 200

    200

    #D9DCBE

    oklch(88.4% 0.04 111.9)

  4. Step 300

    300

    #C1C68F

    oklch(80.9% 0.073 112.3)

  5. Step 400

    400 (this color)

    #AFB557

    oklch(74.9% 0.118 112.2)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB557 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)#C1AE4E0.029
Deuteranopia (no green cones)#C1B05C0.030
Tritanopia (no blue cones)#B9ACA00.104
Achromatopsia (no color)#AFAFAF0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB557

    #AFB557

    oklch(74.9% 0.118 112.2)

  • #AF9FF2

    #AF9FF2

    oklch(74.8% 0.119 292.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB557

    #AFB557

    oklch(74.9% 0.118 112.2)

  • #D3A64D

    #D3A64D

    oklch(74.9% 0.119 82.2)

  • #81C17A

    #81C17A

    oklch(75% 0.119 142)

Open the analogous palette in the generator

Split complementary

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

  • #AFB557

    #AFB557

    oklch(74.9% 0.118 112.2)

  • #84ADF9

    #84ADF9

    oklch(74.8% 0.119 262.2)

  • #D194DA

    #D194DA

    oklch(74.9% 0.118 322.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB557

    #AFB557

    oklch(74.9% 0.118 112.2)

  • #53BAEB

    #53BAEB

    oklch(74.8% 0.118 232.1)

  • #E78DB5

    #E78DB5

    oklch(74.8% 0.119 352.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB557

    #AFB557

    oklch(74.9% 0.118 112.2)

  • #2EC3CE

    #2EC3CE

    oklch(74.8% 0.118 202.6)

  • #AF9FF2

    #AF9FF2

    oklch(74.8% 0.119 292.1)

  • #EF8E8B

    #EF8E8B

    oklch(74.8% 0.118 22.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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