#AFB463

Closest named color: Dark Khaki (#BDB76B). oklch(74.8% 0.105 111.8), rgb(175, 180, 99).

Aa

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

About this color

#AFB463 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.105 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.024 away. Black text reads best on it, at 9.53:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text9.53:1
White text2.20:1

Values

HEX#AFB463
RGBrgb(175, 180, 99)
HSLhsl(64, 35%, 55%)
OKLCHoklch(74.8% 0.105 111.8)

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 #AFB463 2.20:1 Fails Lc -48.1 Large or bold text, headings
Black text on #AFB463 9.53:1 AAA Lc 60.6 Content text, not long reading
#AFB463 text on white 2.20:1 Fails Lc 43.3 Non-text elements, placeholder text
#AFB463 text on black 9.53:1 AAA Lc -58.8 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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #EAEBDD

    oklch(93.5% 0.019 110.1)

  3. Step 200

    200

    #D9DCC1

    oklch(88.5% 0.036 112.3)

  4. Step 300

    300

    #C1C595

    oklch(80.8% 0.065 111.7)

  5. Step 400

    400 (this color)

    #AFB463

    oklch(74.8% 0.105 111.8)

  6. Step 500

    500

    #8C9115

    oklch(63.2% 0.134 112.2)

  7. Step 600

    600

    #767900

    oklch(55.5% 0.122 111.5)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272903

    oklch(27% 0.056 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB463 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)#BFAD5C0.027
Deuteranopia (no green cones)#BFB0670.026
Tritanopia (no blue cones)#B8ABA10.093
Achromatopsia (no color)#AFAFAF0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB463

    #AFB463

    oklch(74.8% 0.105 111.8)

  • #AEA1EA

    #AEA1EA

    oklch(74.7% 0.104 291.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB463

    #AFB463

    oklch(74.8% 0.105 111.8)

  • #CFA75C

    #CFA75C

    oklch(74.9% 0.105 81.7)

  • #87BE80

    #87BE80

    oklch(74.7% 0.104 141.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFB463

    #AFB463

    oklch(74.8% 0.105 111.8)

  • #89ADF0

    #89ADF0

    oklch(74.7% 0.105 262.4)

  • #CC97D5

    #CC97D5

    oklch(74.7% 0.105 321.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB463

    #AFB463

    oklch(74.8% 0.105 111.8)

  • #61B9E4

    #61B9E4

    oklch(74.8% 0.105 231.7)

  • #E191B4

    #E191B4

    oklch(74.8% 0.106 352.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB463

    #AFB463

    oklch(74.8% 0.105 111.8)

  • #4BC1C9

    #4BC1C9

    oklch(74.8% 0.105 201.5)

  • #AEA1EA

    #AEA1EA

    oklch(74.7% 0.104 291.8)

  • #E89290

    #E89290

    oklch(74.7% 0.105 21.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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