#AFB27F

Closest named color: Putty (#BEAE8A). oklch(74.8% 0.069 110.8), rgb(175, 178, 127).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (75%)
Chromamuted (0.069)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.49:1
White text2.21:1

Values

HEX#AFB27F
RGBrgb(175, 178, 127)
HSLhsl(64, 25%, 60%)
OKLCHoklch(74.8% 0.069 110.8)

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 #AFB27F 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #AFB27F 9.49:1 AAA Lc 60.4 Content text, not long reading
#AFB27F text on white 2.21:1 Fails Lc 43.5 Non-text elements, placeholder text
#AFB27F text on black 9.49:1 AAA Lc -58.6 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #D9DBC9

    oklch(88.5% 0.024 112)

  4. Step 300

    300

    #C1C4A4

    oklch(80.9% 0.044 111.7)

  5. Step 400

    400 (this color)

    #AFB27F

    oklch(74.8% 0.069 110.8)

  6. Step 500

    500

    #8C8F4D

    oklch(63.2% 0.089 111)

  7. Step 600

    600

    #76782F

    oklch(55.5% 0.096 110.6)

  8. Step 700

    700

    #636521

    oklch(49.1% 0.09 110.9)

  9. Step 800

    800

    #51531E

    oklch(42.8% 0.074 111.2)

  10. Step 900

    900

    #43441E

    oklch(37.6% 0.057 110.2)

  11. Step 950

    950

    #272812

    oklch(26.9% 0.037 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB27F 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)#BAAD7C0.019
Deuteranopia (no green cones)#BAAF810.018
Tritanopia (no blue cones)#B6ACA50.061
Achromatopsia (no color)#AEAEAE0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB27F

    #AFB27F

    oklch(74.8% 0.069 110.8)

  • #ADA6D7

    #ADA6D7

    oklch(74.8% 0.07 291.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB27F

    #AFB27F

    oklch(74.8% 0.069 110.8)

  • #C4A97B

    #C4A97B

    oklch(74.7% 0.069 80.6)

  • #96B990

    #96B990

    oklch(74.9% 0.069 141)

Open the analogous palette in the generator

Split complementary

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

  • #AFB27F

    #AFB27F

    oklch(74.8% 0.069 110.8)

  • #95AEDA

    #95AEDA

    oklch(74.8% 0.07 261.6)

  • #C2A0C9

    #C2A0C9

    oklch(75% 0.069 320.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB27F

    #AFB27F

    oklch(74.8% 0.069 110.8)

  • #80B6D1

    #80B6D1

    oklch(74.8% 0.069 230.5)

  • #D09CB3

    #D09CB3

    oklch(74.8% 0.069 350.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB27F

    #AFB27F

    oklch(74.8% 0.069 110.8)

  • #77BBBF

    #77BBBF

    oklch(74.8% 0.069 200.5)

  • #ADA6D7

    #ADA6D7

    oklch(74.8% 0.07 291.1)

  • #D69C9B

    #D69C9B

    oklch(74.8% 0.07 20)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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