#AFB06D

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

Aa

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

About this color

#AFB06D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.089 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.25:1.

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

Values

HEX#AFB06D
RGBrgb(175, 176, 109)
HSLhsl(61, 30%, 56%)
OKLCHoklch(74.1% 0.089 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 #AFB06D 2.26:1 Fails Lc -49.6 Large or bold text, headings
Black text on #AFB06D 9.25:1 AAA Lc 59.3 Large or bold text, headings
#AFB06D text on white 2.26:1 Fails Lc 44.7 Non-text elements, placeholder text
#AFB06D text on black 9.25: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

    #C3C49B

    oklch(80.9% 0.055 108.7)

  5. Step 400

    400 (this color)

    #AFB06D

    oklch(74.1% 0.089 109.1)

  6. Step 500

    500

    #8F8F33

    oklch(63.2% 0.114 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

    #45440D

    oklch(37.6% 0.073 108.4)

  11. Step 950

    950

    #28280A

    oklch(26.9% 0.047 109.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFB06D 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)#BAAB680.019
Deuteranopia (no green cones)#BBAD700.020
Tritanopia (no blue cones)#B8A89F0.079
Achromatopsia (no color)#ACACAC0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB06D

    #AFB06D

    oklch(74.1% 0.089 109.1)

  • #A9A2E0

    #A9A2E0

    oklch(74.1% 0.089 289.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB06D

    #AFB06D

    oklch(74.1% 0.089 109.1)

  • #C9A569

    #C9A569

    oklch(74.1% 0.089 79.5)

  • #8EB983

    #8EB983

    oklch(74.1% 0.089 139.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFB06D

    #AFB06D

    oklch(74.1% 0.089 109.1)

  • #89ADE3

    #89ADE3

    oklch(74.1% 0.088 258.3)

  • #C499CF

    #C499CF

    oklch(74.1% 0.09 319.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB06D

    #AFB06D

    oklch(74.1% 0.089 109.1)

  • #6CB6D8

    #6CB6D8

    oklch(74.1% 0.089 229.3)

  • #D694B4

    #D694B4

    oklch(74.1% 0.089 348.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB06D

    #AFB06D

    oklch(74.1% 0.089 109.1)

  • #5FBCC0

    #5FBCC0

    oklch(74% 0.089 199.1)

  • #A9A2E0

    #A9A2E0

    oklch(74.1% 0.089 289.2)

  • #DD9495

    #DD9495

    oklch(73.9% 0.089 18.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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