#AFB06B

Closest named color: Dark Khaki (#BDB76B). oklch(74% 0.091 109.1), rgb(175, 176, 107).

Aa

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

About this color

#AFB06B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.091 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.029 away. Black text reads best on it, at 9.24:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.24:1
White text2.27:1

Values

HEX#AFB06B
RGBrgb(175, 176, 107)
HSLhsl(61, 30%, 55%)
OKLCHoklch(74% 0.091 109.1)

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 #AFB06B 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #AFB06B 9.24:1 AAA Lc 59.2 Large or bold text, headings
#AFB06B text on white 2.27:1 Fails Lc 44.8 Non-text elements, placeholder text
#AFB06B text on black 9.24:1 AAA Lc -57.4 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC4

    oklch(88.4% 0.031 109)

  4. Step 300

    300

    #C3C49A

    oklch(80.9% 0.057 108.7)

  5. Step 400

    400 (this color)

    #AFB06B

    oklch(74% 0.091 109.1)

  6. Step 500

    500

    #8F8F30

    oklch(63.2% 0.116 109.3)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535200

    oklch(42.6% 0.092 108.9)

  10. Step 900

    900

    #45440A

    oklch(37.6% 0.075 108.5)

  11. Step 950

    950

    #282809

    oklch(26.9% 0.048 109.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFB06B 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)#BAAB660.019
Deuteranopia (no green cones)#BBAD6E0.020
Tritanopia (no blue cones)#B8A89F0.081
Achromatopsia (no color)#ACACAC0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB06B

    #AFB06B

    oklch(74% 0.091 109.1)

  • #A9A2E1

    #A9A2E1

    oklch(74.1% 0.09 289.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB06B

    #AFB06B

    oklch(74% 0.091 109.1)

  • #CAA467

    #CAA467

    oklch(74% 0.091 78.5)

  • #8DB982

    #8DB982

    oklch(74% 0.09 139.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFB06B

    #AFB06B

    oklch(74% 0.091 109.1)

  • #88ACE5

    #88ACE5

    oklch(74% 0.092 259.4)

  • #C499D0

    #C499D0

    oklch(74.1% 0.091 318.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB06B

    #AFB06B

    oklch(74% 0.091 109.1)

  • #6AB6D9

    #6AB6D9

    oklch(74% 0.091 229.5)

  • #D793B4

    #D793B4

    oklch(74% 0.092 349)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB06B

    #AFB06B

    oklch(74% 0.091 109.1)

  • #5CBDC1

    #5CBDC1

    oklch(74.2% 0.091 199)

  • #A9A2E1

    #A9A2E1

    oklch(74.1% 0.09 289.1)

  • #DF9494

    #DF9494

    oklch(74.1% 0.091 19.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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