#AFB676

Closest named color: Dark Khaki (#BDB76B). oklch(75.5% 0.086 113.5), rgb(175, 182, 118).

Aa

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

About this color

#AFB676 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.086 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.023 away. Black text reads best on it, at 9.77:1.

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

Values

HEX#AFB676
RGBrgb(175, 182, 118)
HSLhsl(67, 30%, 59%)
OKLCHoklch(75.5% 0.086 113.5)

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 #AFB676 2.14:1 Fails Lc -46.9 Large or bold text, headings
Black text on #AFB676 9.77:1 AAA Lc 61.8 Content text, not long reading
#AFB676 text on white 2.14:1 Fails Lc 42.2 Non-text elements, placeholder text
#AFB676 text on black 9.77:1 AAA Lc -60.1 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

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D9DCC6

    oklch(88.6% 0.03 113.3)

  4. Step 300

    300

    #C0C59E

    oklch(80.9% 0.053 113.5)

  5. Step 400

    400 (this color)

    #AFB676

    oklch(75.5% 0.086 113.5)

  6. Step 500

    500

    #89903B

    oklch(63% 0.109 113.5)

  7. Step 600

    600

    #747A11

    oklch(55.6% 0.119 113.2)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F5408

    oklch(42.7% 0.092 113.7)

  10. Step 900

    900

    #424513

    oklch(37.6% 0.07 112.6)

  11. Step 950

    950

    #26290D

    oklch(27% 0.045 114.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB676 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)#BFB0710.025
Deuteranopia (no green cones)#BFB2790.026
Tritanopia (no blue cones)#B6AFA60.075
Achromatopsia (no color)#B1B1B10.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB676

    #AFB676

    oklch(75.5% 0.086 113.5)

  • #B2A6E1

    #B2A6E1

    oklch(75.6% 0.085 293.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB676

    #AFB676

    oklch(75.5% 0.086 113.5)

  • #CAAB6F

    #CAAB6F

    oklch(75.5% 0.086 83.2)

  • #8FBE8D

    #8FBE8D

    oklch(75.5% 0.085 143.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFB676

    #AFB676

    oklch(75.5% 0.086 113.5)

  • #94B0E7

    #94B0E7

    oklch(75.7% 0.085 263.5)

  • #CB9DCF

    #CB9DCF

    oklch(75.5% 0.087 323.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB676

    #AFB676

    oklch(75.5% 0.086 113.5)

  • #77B9DE

    #77B9DE

    oklch(75.5% 0.086 234.1)

  • #DB99B4

    #DB99B4

    oklch(75.5% 0.086 353.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB676

    #AFB676

    oklch(75.5% 0.086 113.5)

  • #68C0C8

    #68C0C8

    oklch(75.6% 0.085 203.2)

  • #B2A6E1

    #B2A6E1

    oklch(75.6% 0.085 293.6)

  • #E19A96

    #E19A96

    oklch(75.5% 0.086 22.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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