#AFB075

Closest named color: Dark Khaki (#BDB76B). oklch(74.2% 0.079 109), rgb(175, 176, 117).

Aa

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

About this color

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

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

Values

HEX#AFB075
RGBrgb(175, 176, 117)
HSLhsl(61, 27%, 57%)
OKLCHoklch(74.2% 0.079 109)

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 #AFB075 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #AFB075 9.28:1 AAA Lc 59.4 Large or bold text, headings
#AFB075 text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#AFB075 text on black 9.28:1 AAA Lc -57.6 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC7

    oklch(88.5% 0.027 109.3)

  4. Step 300

    300

    #C3C49F

    oklch(81% 0.05 108.7)

  5. Step 400

    400 (this color)

    #AFB075

    oklch(74.2% 0.079 109)

  6. Step 500

    500

    #8E8E40

    oklch(63% 0.101 109)

  7. Step 600

    600

    #79781C

    oklch(55.6% 0.11 108.9)

  8. Step 700

    700

    #66650C

    oklch(49.2% 0.102 108.9)

  9. Step 800

    800

    #535210

    oklch(42.6% 0.084 108.6)

  10. Step 900

    900

    #444416

    oklch(37.6% 0.066 109.2)

  11. Step 950

    950

    #28280E

    oklch(27% 0.042 108.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB075 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)#B9AB710.018
Deuteranopia (no green cones)#BAAD770.018
Tritanopia (no blue cones)#B7A9A10.070
Achromatopsia (no color)#ACACAC0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB075

    #AFB075

    oklch(74.2% 0.079 109)

  • #A9A4DB

    #A9A4DB

    oklch(74.2% 0.079 288.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB075

    #AFB075

    oklch(74.2% 0.079 109)

  • #C7A672

    #C7A672

    oklch(74.3% 0.079 78.4)

  • #92B888

    #92B888

    oklch(74.2% 0.079 139.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFB075

    #AFB075

    oklch(74.2% 0.079 109)

  • #8EADDE

    #8EADDE

    oklch(74.3% 0.079 259.4)

  • #C19CCC

    #C19CCC

    oklch(74.2% 0.079 318.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB075

    #AFB075

    oklch(74.2% 0.079 109)

  • #75B6D3

    #75B6D3

    oklch(74.3% 0.078 228.1)

  • #D297B3

    #D297B3

    oklch(74.1% 0.079 349.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB075

    #AFB075

    oklch(74.2% 0.079 109)

  • #6BBBBE

    #6BBBBE

    oklch(74.2% 0.079 198.7)

  • #A9A4DB

    #A9A4DB

    oklch(74.2% 0.079 288.5)

  • #D99898

    #D99898

    oklch(74.3% 0.079 19.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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