#AFB77D

Closest named color: Dark Khaki (#BDB76B). oklch(75.9% 0.078 114.7), rgb(175, 183, 125).

Aa

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

About this color

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

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

Values

HEX#AFB77D
RGBrgb(175, 183, 125)
HSLhsl(68, 29%, 60%)
OKLCHoklch(75.9% 0.078 114.7)

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

  1. Step 50

    50

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E9ECDB

    oklch(93.6% 0.023 115)

  3. Step 200

    200

    #D8DDBD

    oklch(88.5% 0.043 114.5)

  4. Step 300

    300 (this color)

    #AFB77D

    oklch(75.9% 0.078 114.7)

  5. Step 400

    400

    #9FA945

    oklch(70.6% 0.125 114.4)

  6. Step 500

    500

    #889200

    oklch(63% 0.142 114.5)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #606700

    oklch(49.1% 0.111 114.3)

  9. Step 800

    800

    #4E5400

    oklch(42.6% 0.096 114.4)

  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

#AFB77D 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)#BFB1790.025
Deuteranopia (no green cones)#BFB37F0.025
Tritanopia (no blue cones)#B6B1A80.067
Achromatopsia (no color)#B2B2B20.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB77D

    #AFB77D

    oklch(75.9% 0.078 114.7)

  • #B4A7DE

    #B4A7DE

    oklch(75.9% 0.079 295.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB77D

    #AFB77D

    oklch(75.9% 0.078 114.7)

  • #C8AD76

    #C8AD76

    oklch(75.8% 0.079 84.5)

  • #92BE92

    #92BE92

    oklch(75.8% 0.078 144.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFB77D

    #AFB77D

    oklch(75.9% 0.078 114.7)

  • #98B1E3

    #98B1E3

    oklch(76% 0.077 263.9)

  • #CAA0CD

    #CAA0CD

    oklch(75.9% 0.078 324.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB77D

    #AFB77D

    oklch(75.9% 0.078 114.7)

  • #7EB9DC

    #7EB9DC

    oklch(75.8% 0.079 235.3)

  • #D99CB3

    #D99CB3

    oklch(75.8% 0.078 354.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB77D

    #AFB77D

    oklch(75.9% 0.078 114.7)

  • #71C0C8

    #71C0C8

    oklch(76% 0.079 204)

  • #B4A7DE

    #B4A7DE

    oklch(75.9% 0.079 295.3)

  • #DE9E98

    #DE9E98

    oklch(75.9% 0.077 25.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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