#AFB85F

Closest named color: Light Olive (#ACBF69). oklch(75.6% 0.114 113.9), rgb(175, 184, 95).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameLight Olive (#ACBF69)
Black text9.84:1
White text2.13:1

Values

HEX#AFB85F
RGBrgb(175, 184, 95)
HSLhsl(66, 39%, 55%)
OKLCHoklch(75.6% 0.114 113.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 #AFB85F 2.13:1 Fails Lc -46.5 Large or bold text, headings
Black text on #AFB85F 9.84:1 AAA Lc 62.1 Content text, not long reading
#AFB85F text on white 2.13:1 Fails Lc 41.8 Non-text elements, placeholder text
#AFB85F text on black 9.84:1 AAA Lc -60.4 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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E9ECDC

    oklch(93.6% 0.021 115.4)

  3. Step 200

    200

    #D8DDBF

    oklch(88.6% 0.04 114.9)

  4. Step 300

    300

    #C0C691

    oklch(80.9% 0.071 113.2)

  5. Step 400

    400 (this color)

    #AFB85F

    oklch(75.6% 0.114 113.9)

  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

    #616700

    oklch(49.2% 0.11 113.7)

  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

#AFB85F 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)#C3B1570.031
Deuteranopia (no green cones)#C3B2640.034
Tritanopia (no blue cones)#B8AFA30.099
Achromatopsia (no color)#B1B1B10.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB85F

    #AFB85F

    oklch(75.6% 0.114 113.9)

  • #B4A2F1

    #B4A2F1

    oklch(75.7% 0.113 294)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB85F

    #AFB85F

    oklch(75.6% 0.114 113.9)

  • #D2A954

    #D2A954

    oklch(75.5% 0.114 83.6)

  • #82C381

    #82C381

    oklch(75.6% 0.114 144)

Open the analogous palette in the generator

Split complementary

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

  • #AFB85F

    #AFB85F

    oklch(75.6% 0.114 113.9)

  • #8BAFF9

    #8BAFF9

    oklch(75.7% 0.114 264)

  • #D497D9

    #D497D9

    oklch(75.7% 0.114 324)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB85F

    #AFB85F

    oklch(75.6% 0.114 113.9)

  • #5DBCED

    #5DBCED

    oklch(75.7% 0.114 233.6)

  • #E891B5

    #E891B5

    oklch(75.6% 0.113 353.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB85F

    #AFB85F

    oklch(75.6% 0.114 113.9)

  • #3DC5D1

    #3DC5D1

    oklch(75.7% 0.114 203.7)

  • #B4A2F1

    #B4A2F1

    oklch(75.7% 0.113 294)

  • #F0928D

    #F0928D

    oklch(75.6% 0.115 23.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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