#AFB681

Closest named color: Dark Khaki (#BDB76B). oklch(75.8% 0.072 114.3), rgb(175, 182, 129).

Aa

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

About this color

#AFB681 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.072 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.031 away. Black text reads best on it, at 9.83:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text9.83:1
White text2.13:1

Values

HEX#AFB681
RGBrgb(175, 182, 129)
HSLhsl(68, 27%, 61%)
OKLCHoklch(75.8% 0.072 114.3)

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 #AFB681 2.13:1 Fails Lc -46.6 Large or bold text, headings
Black text on #AFB681 9.83:1 AAA Lc 62.0 Content text, not long reading
#AFB681 text on white 2.13:1 Fails Lc 41.9 Non-text elements, placeholder text
#AFB681 text on black 9.83:1 AAA Lc -60.3 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D8DBC9

    oklch(88.4% 0.024 114.6)

  4. Step 300

    300

    #C0C4A4

    oklch(80.9% 0.044 113.2)

  5. Step 400

    400 (this color)

    #AFB681

    oklch(75.8% 0.072 114.3)

  6. Step 500

    500

    #88904C

    oklch(63.1% 0.092 114.6)

  7. Step 600

    600

    #727A2D

    oklch(55.6% 0.101 114.7)

  8. Step 700

    700

    #606620

    oklch(49% 0.092 114)

  9. Step 800

    800

    #4E541C

    oklch(42.8% 0.078 114.9)

  10. Step 900

    900

    #41451D

    oklch(37.7% 0.06 114)

  11. Step 950

    950

    #262912

    oklch(27.1% 0.039 115.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFB681 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)#BEB17D0.023
Deuteranopia (no green cones)#BDB2830.023
Tritanopia (no blue cones)#B5B0A80.062
Achromatopsia (no color)#B1B1B10.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB681

    #AFB681

    oklch(75.8% 0.072 114.3)

  • #B2A8DA

    #B2A8DA

    oklch(75.7% 0.072 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB681

    #AFB681

    oklch(75.8% 0.072 114.3)

  • #C6AD7B

    #C6AD7B

    oklch(75.7% 0.072 84.2)

  • #95BD94

    #95BD94

    oklch(75.8% 0.072 144.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFB681

    #AFB681

    oklch(75.8% 0.072 114.3)

  • #99B0DF

    #99B0DF

    oklch(75.7% 0.073 264.4)

  • #C8A1CA

    #C8A1CA

    oklch(75.7% 0.072 324.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB681

    #AFB681

    oklch(75.8% 0.072 114.3)

  • #82B8D8

    #82B8D8

    oklch(75.7% 0.073 235)

  • #D69EB3

    #D69EB3

    oklch(75.8% 0.072 354.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB681

    #AFB681

    oklch(75.8% 0.072 114.3)

  • #77BEC6

    #77BEC6

    oklch(75.8% 0.072 204.9)

  • #B2A8DA

    #B2A8DA

    oklch(75.7% 0.072 293.8)

  • #DB9F9A

    #DB9F9A

    oklch(75.8% 0.072 24.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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