#AFBA78

Closest named color: Tan Green (#A9BE70). oklch(76.5% 0.089 116.3), rgb(175, 186, 120).

Aa

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

About this color

#AFBA78 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.089 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.019 away. Black text reads best on it, at 10.11:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.11:1
White text2.07:1

Values

HEX#AFBA78
RGBrgb(175, 186, 120)
HSLhsl(70, 32%, 60%)
OKLCHoklch(76.5% 0.089 116.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 #AFBA78 2.07:1 Fails Lc -45.1 Large or bold text, headings
Black text on #AFBA78 10.11:1 AAA Lc 63.4 Content text, not long reading
#AFBA78 text on white 2.07:1 Fails Lc 40.5 Non-text elements, placeholder text
#AFBA78 text on black 10.11:1 AAA Lc -61.8 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

    #F5F7EE

    oklch(97.2% 0.012 116.8)

  2. Step 100

    100

    #E8ECD9

    oklch(93.5% 0.026 116.6)

  3. Step 200

    200

    #D7DEB9

    oklch(88.6% 0.05 116.1)

  4. Step 300

    300 (this color)

    #AFBA78

    oklch(76.5% 0.089 116.3)

  5. Step 400

    400

    #9CAB33

    oklch(70.7% 0.142 116.3)

  6. Step 500

    500

    #859300

    oklch(63% 0.144 116.3)

  7. Step 600

    600

    #707C00

    oklch(55.7% 0.128 116.3)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFBA78 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)#C3B4730.030
Deuteranopia (no green cones)#C2B47B0.032
Tritanopia (no blue cones)#B6B3A90.076
Achromatopsia (no color)#B4B4B40.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBA78

    #AFBA78

    oklch(76.5% 0.089 116.3)

  • #B7A7E5

    #B7A7E5

    oklch(76.4% 0.089 296.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBA78

    #AFBA78

    oklch(76.5% 0.089 116.3)

  • #CBAF6F

    #CBAF6F

    oklch(76.4% 0.089 86.7)

  • #8EC291

    #8EC291

    oklch(76.5% 0.088 146.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFBA78

    #AFBA78

    oklch(76.5% 0.089 116.3)

  • #98B2EC

    #98B2EC

    oklch(76.5% 0.089 265.7)

  • #D19FD1

    #D19FD1

    oklch(76.5% 0.089 326.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBA78

    #AFBA78

    oklch(76.5% 0.089 116.3)

  • #79BCE4

    #79BCE4

    oklch(76.5% 0.089 235.8)

  • #E19BB4

    #E19BB4

    oklch(76.5% 0.089 356.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBA78

    #AFBA78

    oklch(76.5% 0.089 116.3)

  • #67C3CE

    #67C3CE

    oklch(76.5% 0.089 205.7)

  • #B7A7E5

    #B7A7E5

    oklch(76.4% 0.089 296.1)

  • #E69D95

    #E69D95

    oklch(76.5% 0.089 26.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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