#AFBF90

Closest named color: Tan Green (#A9BE70). oklch(78% 0.066 123.2), rgb(175, 191, 144).

Aa

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

About this color

#AFBF90 is a light, muted yellow. In OKLCH its lightness is 78%, its chroma 0.066 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.041 away. Black text reads best on it, at 10.67:1.

Hue familyYellows
Lightnesslight (78%)
Chromamuted (0.066)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.67:1
White text1.96:1

Values

HEX#AFBF90
RGBrgb(175, 191, 144)
HSLhsl(80, 27%, 66%)
OKLCHoklch(78% 0.066 123.2)

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 #AFBF90 1.96:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #AFBF90 10.67:1 AAA Lc 66.0 Content text, not long reading
#AFBF90 text on white 1.96:1 Fails Lc 37.9 Non-text elements, placeholder text
#AFBF90 text on black 10.67:1 AAA Lc -64.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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E7ECDE

    oklch(93.5% 0.019 122.8)

  3. Step 200

    200

    #D4DEC3

    oklch(88.6% 0.038 123.7)

  4. Step 300

    300 (this color)

    #AFBF90

    oklch(78% 0.066 123.2)

  5. Step 400

    400

    #94AC5F

    oklch(70.8% 0.106 123.3)

  6. Step 500

    500

    #7A962A

    oklch(63.1% 0.136 123.1)

  7. Step 600

    600

    #647F00

    oklch(55.5% 0.136 123.2)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #394906

    oklch(37.8% 0.089 123.2)

  11. Step 950

    950

    #212B08

    oklch(27.1% 0.056 123.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFBF90 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)#C5B98D0.032
Deuteranopia (no green cones)#C2B9920.031
Tritanopia (no blue cones)#B3BAB20.054
Achromatopsia (no color)#B9B9B90.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBF90

    #AFBF90

    oklch(78% 0.066 123.2)

  • #C0AEDB

    #C0AEDB

    oklch(78.1% 0.066 303.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBF90

    #AFBF90

    oklch(78% 0.066 123.2)

  • #C6B787

    #C6B787

    oklch(78% 0.066 92.8)

  • #97C4A4

    #97C4A4

    oklch(77.9% 0.066 153.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBF90

    #AFBF90

    oklch(78% 0.066 123.2)

  • #A9B5E3

    #A9B5E3

    oklch(78% 0.067 273.4)

  • #D2A8CA

    #D2A8CA

    oklch(78% 0.067 332.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBF90

    #AFBF90

    oklch(78% 0.066 123.2)

  • #93BDDF

    #93BDDF

    oklch(78% 0.066 243.1)

  • #DDA6B3

    #DDA6B3

    oklch(78% 0.067 3.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBF90

    #AFBF90

    oklch(78% 0.066 123.2)

  • #85C3D1

    #85C3D1

    oklch(78% 0.066 213.4)

  • #C0AEDB

    #C0AEDB

    oklch(78.1% 0.066 303.1)

  • #DFA99C

    #DFA99C

    oklch(78.1% 0.067 33.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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