#AFA278

Closest named color: Stone (#ADA587). oklch(71.3% 0.059 92.9), rgb(175, 162, 120).

Aa

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

About this color

#AFA278 is a medium-light, muted yellow. In OKLCH its lightness is 71%, its chroma 0.059 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.018 away. Black text reads best on it, at 8.26:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.059)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.26:1
White text2.54:1

Values

HEX#AFA278
RGBrgb(175, 162, 120)
HSLhsl(46, 26%, 58%)
OKLCHoklch(71.3% 0.059 92.9)

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 #AFA278 2.54:1 Fails Lc -54.9 Large or bold text, headings
Black text on #AFA278 8.26:1 AAA Lc 54.2 Large or bold text, headings
#AFA278 text on white 2.54:1 Fails Lc 49.8 Large or bold text, headings
#AFA278 text on black 8.26:1 AAA Lc -52.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DED9CA

    oklch(88.5% 0.021 91.6)

  4. Step 300

    300

    #C9C1A6

    oklch(81% 0.038 93.4)

  5. Step 400

    400 (this color)

    #AFA278

    oklch(71.3% 0.059 92.9)

  6. Step 500

    500

    #998952

    oklch(63.2% 0.077 93.7)

  7. Step 600

    600

    #847236

    oklch(55.6% 0.083 92.9)

  8. Step 700

    700

    #705F29

    oklch(49% 0.076 91.9)

  9. Step 800

    800

    #5B4E23

    oklch(42.7% 0.063 92.7)

  10. Step 900

    900

    #4B4121

    oklch(37.7% 0.05 92.5)

  11. Step 950

    950

    #2C2614

    oklch(27% 0.031 91.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA278 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)#ABA0750.009
Deuteranopia (no green cones)#AEA4790.005
Tritanopia (no blue cones)#B89C970.054
Achromatopsia (no color)#A2A2A20.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA278

    #AFA278

    oklch(71.3% 0.059 92.9)

  • #96A1C8

    #96A1C8

    oklch(71.4% 0.058 272.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA278

    #AFA278

    oklch(71.3% 0.059 92.9)

  • #BE9B7C

    #BE9B7C

    oklch(71.4% 0.06 63.2)

  • #9BA980

    #9BA980

    oklch(71.3% 0.059 123.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA278

    #AFA278

    oklch(71.3% 0.059 92.9)

  • #82A7C5

    #82A7C5

    oklch(71.2% 0.06 243.2)

  • #AA9AC2

    #AA9AC2

    oklch(71.4% 0.06 303.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA278

    #AFA278

    oklch(71.3% 0.059 92.9)

  • #76ADB9

    #76ADB9

    oklch(71.4% 0.06 212.8)

  • #BA95B3

    #BA95B3

    oklch(71.3% 0.06 332.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA278

    #AFA278

    oklch(71.3% 0.059 92.9)

  • #78AFA6

    #78AFA6

    oklch(71.3% 0.059 183.3)

  • #96A1C8

    #96A1C8

    oklch(71.4% 0.058 272.6)

  • #C3939F

    #C3939F

    oklch(71.2% 0.06 2.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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