#AFB47B

Closest named color: Dark Khaki (#BDB76B). oklch(75.2% 0.077 112.3), rgb(175, 180, 123).

Aa

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

About this color

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

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

Values

HEX#AFB47B
RGBrgb(175, 180, 123)
HSLhsl(65, 28%, 59%)
OKLCHoklch(75.2% 0.077 112.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 #AFB47B 2.17:1 Fails Lc -47.6 Large or bold text, headings
Black text on #AFB47B 9.63:1 AAA Lc 61.1 Content text, not long reading
#AFB47B text on white 2.17:1 Fails Lc 42.8 Non-text elements, placeholder text
#AFB47B text on black 9.63:1 AAA Lc -59.3 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #D9DBC7

    oklch(88.4% 0.027 111.6)

  4. Step 300

    300

    #C1C4A1

    oklch(80.9% 0.048 111.4)

  5. Step 400

    400 (this color)

    #AFB47B

    oklch(75.2% 0.077 112.3)

  6. Step 500

    500

    #8A8F45

    oklch(62.9% 0.098 112.3)

  7. Step 600

    600

    #757924

    oklch(55.6% 0.106 112)

  8. Step 700

    700

    #626616

    oklch(49.1% 0.099 112.4)

  9. Step 800

    800

    #505316

    oklch(42.7% 0.082 112.1)

  10. Step 900

    900

    #424519

    oklch(37.7% 0.064 112.7)

  11. Step 950

    950

    #272810

    oklch(26.9% 0.04 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB47B 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)#BCAF770.021
Deuteranopia (no green cones)#BCB07D0.022
Tritanopia (no blue cones)#B6ADA50.068
Achromatopsia (no color)#B0B0B00.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB47B

    #AFB47B

    oklch(75.2% 0.077 112.3)

  • #AFA6DC

    #AFA6DC

    oklch(75.2% 0.077 292.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB47B

    #AFB47B

    oklch(75.2% 0.077 112.3)

  • #C7AA76

    #C7AA76

    oklch(75.1% 0.077 81.7)

  • #93BB8F

    #93BB8F

    oklch(75.1% 0.075 142.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFB47B

    #AFB47B

    oklch(75.2% 0.077 112.3)

  • #94AFE0

    #94AFE0

    oklch(75.1% 0.077 262.2)

  • #C69FCC

    #C69FCC

    oklch(75.3% 0.077 321.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB47B

    #AFB47B

    oklch(75.2% 0.077 112.3)

  • #7CB8D7

    #7CB8D7

    oklch(75.3% 0.076 231.6)

  • #D69BB3

    #D69BB3

    oklch(75.3% 0.077 352.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB47B

    #AFB47B

    oklch(75.2% 0.077 112.3)

  • #70BDC4

    #70BDC4

    oklch(75.1% 0.077 203.2)

  • #AFA6DC

    #AFA6DC

    oklch(75.2% 0.077 292.1)

  • #DB9C98

    #DB9C98

    oklch(75.2% 0.076 23.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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