#AFB070

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

Aa

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

About this color

#AFB070 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.085 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.085)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.26:1
White text2.26:1

Values

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

    #C3C49D

    oklch(80.9% 0.053 108.7)

  5. Step 400

    400 (this color)

    #AFB070

    oklch(74.1% 0.085 109.1)

  6. Step 500

    500

    #8F8F38

    oklch(63.2% 0.109 109.2)

  7. Step 600

    600

    #797809

    oklch(55.6% 0.118 109.1)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535204

    oklch(42.6% 0.09 108.9)

  10. Step 900

    900

    #454411

    oklch(37.7% 0.07 108.2)

  11. Step 950

    950

    #28280C

    oklch(27% 0.044 109)

Export this scale for Tailwind in the Tailwind colors tool

#AFB070 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)#BAAB6B0.019
Deuteranopia (no green cones)#BBAD730.020
Tritanopia (no blue cones)#B7A9A00.075
Achromatopsia (no color)#ACACAC0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB070

    #AFB070

    oklch(74.1% 0.085 109.1)

  • #A9A3DE

    #A9A3DE

    oklch(74.2% 0.085 288.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB070

    #AFB070

    oklch(74.1% 0.085 109.1)

  • #C8A56C

    #C8A56C

    oklch(74.1% 0.085 79.1)

  • #90B985

    #90B985

    oklch(74.2% 0.085 139.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFB070

    #AFB070

    oklch(74.1% 0.085 109.1)

  • #8BADE1

    #8BADE1

    oklch(74.2% 0.084 258.7)

  • #C39ACE

    #C39ACE

    oklch(74.1% 0.086 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB070

    #AFB070

    oklch(74.1% 0.085 109.1)

  • #6FB6D6

    #6FB6D6

    oklch(74.1% 0.085 228.6)

  • #D495B4

    #D495B4

    oklch(74% 0.085 348.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB070

    #AFB070

    oklch(74.1% 0.085 109.1)

  • #64BCBF

    #64BCBF

    oklch(74.2% 0.085 198.4)

  • #A9A3DE

    #A9A3DE

    oklch(74.2% 0.085 288.8)

  • #DC9696

    #DC9696

    oklch(74.2% 0.085 19.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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