#AFBA7D

Closest named color: Tan Green (#A9BE70). oklch(76.5% 0.083 116.7), rgb(175, 186, 125).

Aa

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

About this color

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

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

Values

HEX#AFBA7D
RGBrgb(175, 186, 125)
HSLhsl(71, 31%, 61%)
OKLCHoklch(76.5% 0.083 116.7)

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 #AFBA7D 2.07:1 Fails Lc -45.0 Non-text elements, placeholder text
Black text on #AFBA7D 10.14:1 AAA Lc 63.5 Content text, not long reading
#AFBA7D text on white 2.07:1 Fails Lc 40.4 Non-text elements, placeholder text
#AFBA7D text on black 10.14:1 AAA Lc -61.9 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

    #E8ECDA

    oklch(93.5% 0.024 117)

  3. Step 200

    200

    #D7DEBC

    oklch(88.6% 0.046 116.8)

  4. Step 300

    300 (this color)

    #AFBA7D

    oklch(76.5% 0.083 116.7)

  5. Step 400

    400

    #9CAB40

    oklch(70.8% 0.132 116.7)

  6. Step 500

    500

    #859400

    oklch(63.2% 0.145 116.7)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  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

#AFBA7D 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)#C2B4790.029
Deuteranopia (no green cones)#C1B5800.029
Tritanopia (no blue cones)#B5B4AA0.069
Achromatopsia (no color)#B4B4B40.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBA7D

    #AFBA7D

    oklch(76.5% 0.083 116.7)

  • #B8A8E2

    #B8A8E2

    oklch(76.5% 0.083 297)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBA7D

    #AFBA7D

    oklch(76.5% 0.083 116.7)

  • #CAB075

    #CAB075

    oklch(76.6% 0.083 86.7)

  • #90C294

    #90C294

    oklch(76.6% 0.084 146.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBA7D

    #AFBA7D

    oklch(76.5% 0.083 116.7)

  • #9BB2E8

    #9BB2E8

    oklch(76.6% 0.082 266.6)

  • #CFA1CF

    #CFA1CF

    oklch(76.6% 0.082 326.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBA7D

    #AFBA7D

    oklch(76.5% 0.083 116.7)

  • #7FBBE1

    #7FBBE1

    oklch(76.5% 0.083 237.1)

  • #DE9DB4

    #DE9DB4

    oklch(76.5% 0.083 356.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBA7D

    #AFBA7D

    oklch(76.5% 0.083 116.7)

  • #6FC2CD

    #6FC2CD

    oklch(76.5% 0.082 206.6)

  • #B8A8E2

    #B8A8E2

    oklch(76.5% 0.083 297)

  • #E39F97

    #E39F97

    oklch(76.6% 0.083 26.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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