#AFB672

Closest named color: Dark Khaki (#BDB76B). oklch(75.5% 0.09 113.4), rgb(175, 182, 114).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text9.75:1
White text2.15:1

Values

HEX#AFB672
RGBrgb(175, 182, 114)
HSLhsl(66, 32%, 58%)
OKLCHoklch(75.5% 0.09 113.4)

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 #AFB672 2.15:1 Fails Lc -46.9 Large or bold text, headings
Black text on #AFB672 9.75:1 AAA Lc 61.7 Content text, not long reading
#AFB672 text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#AFB672 text on black 9.75:1 AAA Lc -60.0 Large or bold text, headings

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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D9DCC4

    oklch(88.6% 0.032 112.8)

  4. Step 300

    300

    #C0C59B

    oklch(80.9% 0.057 113.2)

  5. Step 400

    400 (this color)

    #AFB672

    oklch(75.5% 0.09 113.4)

  6. Step 500

    500

    #8A9135

    oklch(63.2% 0.115 113.3)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.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

    #42460E

    oklch(37.9% 0.076 113.5)

  11. Step 950

    950

    #26290B

    oklch(27% 0.048 114.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFB672 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)#BFB06D0.025
Deuteranopia (no green cones)#BFB2750.026
Tritanopia (no blue cones)#B7AFA50.078
Achromatopsia (no color)#B1B1B10.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB672

    #AFB672

    oklch(75.5% 0.09 113.4)

  • #B2A5E4

    #B2A5E4

    oklch(75.6% 0.09 293.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB672

    #AFB672

    oklch(75.5% 0.09 113.4)

  • #CBAB6B

    #CBAB6B

    oklch(75.5% 0.091 83.8)

  • #8DBF8A

    #8DBF8A

    oklch(75.5% 0.091 143.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFB672

    #AFB672

    oklch(75.5% 0.09 113.4)

  • #92AFE9

    #92AFE9

    oklch(75.4% 0.09 263.8)

  • #CC9CD1

    #CC9CD1

    oklch(75.5% 0.091 323.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB672

    #AFB672

    oklch(75.5% 0.09 113.4)

  • #72B9E0

    #72B9E0

    oklch(75.4% 0.091 233.8)

  • #DD98B4

    #DD98B4

    oklch(75.5% 0.09 353.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB672

    #AFB672

    oklch(75.5% 0.09 113.4)

  • #62C0C9

    #62C0C9

    oklch(75.4% 0.09 203.7)

  • #B2A5E4

    #B2A5E4

    oklch(75.6% 0.09 293.6)

  • #E39994

    #E39994

    oklch(75.5% 0.09 23.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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