#AFBE7A

Closest named color: Tan Green (#A9BE70). oklch(77.4% 0.092 118.7), rgb(175, 190, 122).

Aa

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

About this color

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

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

Values

HEX#AFBE7A
RGBrgb(175, 190, 122)
HSLhsl(73, 34%, 61%)
OKLCHoklch(77.4% 0.092 118.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 #AFBE7A 2.00:1 Fails Lc -43.3 Non-text elements, placeholder text
Black text on #AFBE7A 10.46:1 AAA Lc 65.1 Content text, not long reading
#AFBE7A text on white 2.00:1 Fails Lc 38.9 Non-text elements, placeholder text
#AFBE7A text on black 10.46:1 AAA Lc -63.5 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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E8EDD9

    oklch(93.7% 0.027 118.3)

  3. Step 200

    200

    #D5DEB9

    oklch(88.4% 0.05 118.5)

  4. Step 300

    300 (this color)

    #AFBE7A

    oklch(77.4% 0.092 118.7)

  5. Step 400

    400

    #98AD30

    oklch(70.8% 0.148 118.7)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFBE7A 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)#C6B7750.034
Deuteranopia (no green cones)#C5B77D0.036
Tritanopia (no blue cones)#B5B7AD0.078
Achromatopsia (no color)#B7B7B70.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBE7A

    #AFBE7A

    oklch(77.4% 0.092 118.7)

  • #BDA9E9

    #BDA9E9

    oklch(77.4% 0.092 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBE7A

    #AFBE7A

    oklch(77.4% 0.092 118.7)

  • #CDB36F

    #CDB36F

    oklch(77.4% 0.092 89.3)

  • #8CC695

    #8CC695

    oklch(77.3% 0.092 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBE7A

    #AFBE7A

    oklch(77.4% 0.092 118.7)

  • #9DB3F1

    #9DB3F1

    oklch(77.3% 0.092 269.1)

  • #D6A1D3

    #D6A1D3

    oklch(77.4% 0.091 328.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBE7A

    #AFBE7A

    oklch(77.4% 0.092 118.7)

  • #7CBEEA

    #7CBEEA

    oklch(77.4% 0.092 238.8)

  • #E69DB4

    #E69DB4

    oklch(77.4% 0.091 359)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBE7A

    #AFBE7A

    oklch(77.4% 0.092 118.7)

  • #67C6D5

    #67C6D5

    oklch(77.4% 0.092 208.9)

  • #BDA9E9

    #BDA9E9

    oklch(77.4% 0.092 298.6)

  • #EA9F94

    #EA9F94

    oklch(77.3% 0.092 28.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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