#AFB381

Closest named color: Putty (#BEAE8A). oklch(75.1% 0.068 111.7), rgb(175, 179, 129).

Aa

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

About this color

#AFB381 is a medium-light, muted yellow. In OKLCH its lightness is 75%, its chroma 0.068 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.030 away. Black text reads best on it, at 9.58:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamuted (0.068)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.58:1
White text2.19:1

Values

HEX#AFB381
RGBrgb(175, 179, 129)
HSLhsl(65, 25%, 60%)
OKLCHoklch(75.1% 0.068 111.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 #AFB381 2.19:1 Fails Lc -47.8 Large or bold text, headings
Black text on #AFB381 9.58:1 AAA Lc 60.9 Content text, not long reading
#AFB381 text on white 2.19:1 Fails Lc 43.1 Non-text elements, placeholder text
#AFB381 text on black 9.58:1 AAA Lc -59.1 Large or bold text, headings

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

  1. Step 50

    50

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #D9DBC9

    oklch(88.5% 0.024 112)

  4. Step 300

    300

    #C1C4A5

    oklch(81% 0.042 111.8)

  5. Step 400

    400 (this color)

    #AFB381

    oklch(75.1% 0.068 111.7)

  6. Step 500

    500

    #8B8F4F

    oklch(63.2% 0.087 111.8)

  7. Step 600

    600

    #757931

    oklch(55.7% 0.095 112)

  8. Step 700

    700

    #626524

    oklch(49% 0.087 111.7)

  9. Step 800

    800

    #50531F

    oklch(42.7% 0.073 112.2)

  10. Step 900

    900

    #42451F

    oklch(37.8% 0.058 112.8)

  11. Step 950

    950

    #272813

    oklch(27% 0.035 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB381 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)#BBAE7E0.020
Deuteranopia (no green cones)#BBB0830.019
Tritanopia (no blue cones)#B5ADA60.060
Achromatopsia (no color)#AFAFAF0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB381

    #AFB381

    oklch(75.1% 0.068 111.7)

  • #AEA7D6

    #AEA7D6

    oklch(75% 0.067 291.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB381

    #AFB381

    oklch(75.1% 0.068 111.7)

  • #C4AB7D

    #C4AB7D

    oklch(75.2% 0.068 82.4)

  • #96BA92

    #96BA92

    oklch(75.2% 0.069 142.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFB381

    #AFB381

    oklch(75.1% 0.068 111.7)

  • #97AFDA

    #97AFDA

    oklch(75.1% 0.068 262)

  • #C3A0C8

    #C3A0C8

    oklch(75% 0.068 322.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB381

    #AFB381

    oklch(75.1% 0.068 111.7)

  • #82B7D2

    #82B7D2

    oklch(75.2% 0.068 230.9)

  • #D19DB3

    #D19DB3

    oklch(75.1% 0.068 351.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB381

    #AFB381

    oklch(75.1% 0.068 111.7)

  • #79BCC0

    #79BCC0

    oklch(75.2% 0.068 200.6)

  • #AEA7D6

    #AEA7D6

    oklch(75% 0.067 291.5)

  • #D69E9B

    #D69E9B

    oklch(75.1% 0.067 22.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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