#AFBA83

Closest named color: Dark Khaki (#BDB76B). oklch(76.7% 0.075 117.4), rgb(175, 186, 131).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text10.17:1
White text2.06:1

Values

HEX#AFBA83
RGBrgb(175, 186, 131)
HSLhsl(72, 28%, 62%)
OKLCHoklch(76.7% 0.075 117.4)

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 #AFBA83 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #AFBA83 10.17:1 AAA Lc 63.7 Content text, not long reading
#AFBA83 text on white 2.06:1 Fails Lc 40.3 Non-text elements, placeholder text
#AFBA83 text on black 10.17:1 AAA Lc -62.0 Content text, not long reading

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 300.

  1. Step 50

    50

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E8ECDC

    oklch(93.6% 0.022 118.2)

  3. Step 200

    200

    #D6DDBE

    oklch(88.4% 0.042 117.6)

  4. Step 300

    300 (this color)

    #AFBA83

    oklch(76.7% 0.075 117.4)

  5. Step 400

    400

    #9BAA4D

    oklch(70.6% 0.12 117.2)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFBA83 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)#C1B47F0.028
Deuteranopia (no green cones)#C0B5850.027
Tritanopia (no blue cones)#B5B4AC0.065
Achromatopsia (no color)#B4B4B40.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBA83

    #AFBA83

    oklch(76.7% 0.075 117.4)

  • #B8A9DE

    #B8A9DE

    oklch(76.6% 0.076 297.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBA83

    #AFBA83

    oklch(76.7% 0.075 117.4)

  • #C8B17B

    #C8B17B

    oklch(76.7% 0.076 87.5)

  • #93C198

    #93C198

    oklch(76.7% 0.076 147.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBA83

    #AFBA83

    oklch(76.7% 0.075 117.4)

  • #9EB2E4

    #9EB2E4

    oklch(76.6% 0.075 267.7)

  • #CEA3CC

    #CEA3CC

    oklch(76.8% 0.075 327.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBA83

    #AFBA83

    oklch(76.7% 0.075 117.4)

  • #85BBDE

    #85BBDE

    oklch(76.7% 0.076 237.5)

  • #DBA0B3

    #DBA0B3

    oklch(76.7% 0.074 357.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBA83

    #AFBA83

    oklch(76.7% 0.075 117.4)

  • #77C1CC

    #77C1CC

    oklch(76.7% 0.075 207.8)

  • #B8A9DE

    #B8A9DE

    oklch(76.6% 0.076 297.5)

  • #DFA199

    #DFA199

    oklch(76.6% 0.075 27.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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