#AFB951

Closest named color: Light Olive Green (#A4BE5C). oklch(75.7% 0.129 114.1), rgb(175, 185, 81).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text9.88:1
White text2.12:1

Values

HEX#AFB951
RGBrgb(175, 185, 81)
HSLhsl(66, 43%, 52%)
OKLCHoklch(75.7% 0.129 114.1)

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 #AFB951 2.12:1 Fails Lc -46.3 Large or bold text, headings
Black text on #AFB951 9.88:1 AAA Lc 62.3 Content text, not long reading
#AFB951 text on white 2.12:1 Fails Lc 41.6 Non-text elements, placeholder text
#AFB951 text on black 9.88:1 AAA Lc -60.6 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 400.

  1. Step 50

    50

    #F5F6EE

    oklch(97% 0.011 112.4)

  2. Step 100

    100

    #E9ECDA

    oklch(93.6% 0.024 114.5)

  3. Step 200

    200

    #D8DDBC

    oklch(88.5% 0.044 114.3)

  4. Step 300

    300

    #BFC78B

    oklch(80.9% 0.08 114.4)

  5. Step 400

    400 (this color)

    #AFB951

    oklch(75.7% 0.129 114.1)

  6. Step 500

    500

    #899200

    oklch(63.1% 0.142 114.1)

  7. Step 600

    600

    #737B00

    oklch(55.7% 0.125 114.2)

  8. Step 700

    700

    #606700

    oklch(49.1% 0.111 114.3)

  9. Step 800

    800

    #4F5400

    oklch(42.7% 0.096 113.7)

  10. Step 900

    900

    #414600

    oklch(37.7% 0.085 114.3)

  11. Step 950

    950

    #262900

    oklch(26.9% 0.06 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB951 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)#C5B1460.034
Deuteranopia (no green cones)#C5B3570.037
Tritanopia (no blue cones)#B9AFA20.113
Achromatopsia (no color)#B2B2B20.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB951

    #AFB951

    oklch(75.7% 0.129 114.1)

  • #B59FFA

    #B59FFA

    oklch(75.7% 0.13 294.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB951

    #AFB951

    oklch(75.7% 0.129 114.1)

  • #D6A842

    #D6A842

    oklch(75.5% 0.129 84.1)

  • #7BC57A

    #7BC57A

    oklch(75.6% 0.129 143.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFB951

    #AFB951

    oklch(75.7% 0.129 114.1)

  • #88AEFF

    #88AEFF

    oklch(75.6% 0.125 264.4)

  • #D893DE

    #D893DE

    oklch(75.7% 0.128 324)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB951

    #AFB951

    oklch(75.7% 0.129 114.1)

  • #4CBDF5

    #4CBDF5

    oklch(75.7% 0.129 233.8)

  • #EF8CB5

    #EF8CB5

    oklch(75.6% 0.129 354.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB951

    #AFB951

    oklch(75.7% 0.129 114.1)

  • #02C7D6

    #02C7D6

    oklch(75.7% 0.129 204.4)

  • #B59FFA

    #B59FFA

    oklch(75.7% 0.13 294.2)

  • #F78E88

    #F78E88

    oklch(75.7% 0.128 24)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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