#AFB062

Closest named color: Dark Khaki (#BDB76B). oklch(73.9% 0.101 109.3), rgb(175, 176, 98).

Aa

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

About this color

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

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

Values

HEX#AFB062
RGBrgb(175, 176, 98)
HSLhsl(61, 33%, 54%)
OKLCHoklch(73.9% 0.101 109.3)

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 #AFB062 2.28:1 Fails Lc -49.8 Large or bold text, headings
Black text on #AFB062 9.20:1 AAA Lc 59.0 Large or bold text, headings
#AFB062 text on white 2.28:1 Fails Lc 44.9 Non-text elements, placeholder text
#AFB062 text on black 9.20:1 AAA Lc -57.2 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

    #EAEBDD

    oklch(93.5% 0.019 110.1)

  3. Step 200

    200

    #DADBC1

    oklch(88.4% 0.035 108.9)

  4. Step 300

    300

    #C3C595

    oklch(81% 0.064 109.7)

  5. Step 400

    400 (this color)

    #AFB062

    oklch(73.9% 0.101 109.3)

  6. Step 500

    500

    #908F1B

    oklch(63.1% 0.129 109.1)

  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

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #282804

    oklch(26.9% 0.053 109.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFB062 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)#BBAA5C0.021
Deuteranopia (no green cones)#BCAD660.022
Tritanopia (no blue cones)#B9A79D0.090
Achromatopsia (no color)#ACACAC0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB062

    #AFB062

    oklch(73.9% 0.101 109.3)

  • #A9A0E6

    #A9A0E6

    oklch(73.9% 0.1 289.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB062

    #AFB062

    oklch(73.9% 0.101 109.3)

  • #CDA35D

    #CDA35D

    oklch(73.9% 0.101 79)

  • #89BA7C

    #89BA7C

    oklch(73.8% 0.101 139.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFB062

    #AFB062

    oklch(73.9% 0.101 109.3)

  • #84ACEA

    #84ACEA

    oklch(73.9% 0.1 259)

  • #C696D3

    #C696D3

    oklch(73.9% 0.101 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB062

    #AFB062

    oklch(73.9% 0.101 109.3)

  • #5FB7DD

    #5FB7DD

    oklch(74% 0.101 228.5)

  • #DB90B4

    #DB90B4

    oklch(73.9% 0.101 349.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB062

    #AFB062

    oklch(73.9% 0.101 109.3)

  • #4DBEC3

    #4DBEC3

    oklch(74% 0.101 199.3)

  • #A9A0E6

    #A9A0E6

    oklch(73.9% 0.1 289.6)

  • #E39091

    #E39091

    oklch(73.8% 0.101 19)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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