#AFB06F

Closest named color: Dark Khaki (#BDB76B). oklch(74.1% 0.086 109.1), rgb(175, 176, 111).

Aa

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

About this color

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

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

Values

HEX#AFB06F
RGBrgb(175, 176, 111)
HSLhsl(61, 29%, 56%)
OKLCHoklch(74.1% 0.086 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 #AFB06F 2.26:1 Fails Lc -49.5 Large or bold text, headings
Black text on #AFB06F 9.26:1 AAA Lc 59.3 Large or bold text, headings
#AFB06F text on white 2.26:1 Fails Lc 44.7 Non-text elements, placeholder text
#AFB06F text on black 9.26: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

    #DADBC5

    oklch(88.5% 0.03 109.1)

  4. Step 300

    300

    #C3C49C

    oklch(80.9% 0.054 108.7)

  5. Step 400

    400 (this color)

    #AFB06F

    oklch(74.1% 0.086 109.1)

  6. Step 500

    500

    #8F8F37

    oklch(63.2% 0.11 109.2)

  7. Step 600

    600

    #797803

    oklch(55.5% 0.12 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535201

    oklch(42.6% 0.092 108.9)

  10. Step 900

    900

    #45440F

    oklch(37.6% 0.072 108.3)

  11. Step 950

    950

    #28280B

    oklch(26.9% 0.046 109.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFB06F 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)#BAAB6A0.019
Deuteranopia (no green cones)#BBAD720.020
Tritanopia (no blue cones)#B8A8A00.078
Achromatopsia (no color)#ACACAC0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB06F

    #AFB06F

    oklch(74.1% 0.086 109.1)

  • #A9A3DF

    #A9A3DF

    oklch(74.2% 0.086 288.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB06F

    #AFB06F

    oklch(74.1% 0.086 109.1)

  • #C9A56B

    #C9A56B

    oklch(74.1% 0.087 78.7)

  • #8FB984

    #8FB984

    oklch(74.2% 0.087 139.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFB06F

    #AFB06F

    oklch(74.1% 0.086 109.1)

  • #8AADE2

    #8AADE2

    oklch(74.2% 0.086 258.5)

  • #C39ACE

    #C39ACE

    oklch(74.1% 0.086 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB06F

    #AFB06F

    oklch(74.1% 0.086 109.1)

  • #6EB6D7

    #6EB6D7

    oklch(74.1% 0.087 229.1)

  • #D595B4

    #D595B4

    oklch(74.1% 0.086 348.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB06F

    #AFB06F

    oklch(74.1% 0.086 109.1)

  • #62BCC0

    #62BCC0

    oklch(74.1% 0.086 199.3)

  • #A9A3DF

    #A9A3DF

    oklch(74.2% 0.086 288.7)

  • #DC9596

    #DC9596

    oklch(74% 0.086 18.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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