#AF8B07

Closest named color: Yellowy Brown (#AE8B0C). oklch(65.2% 0.132 90), rgb(175, 139, 7).

Aa

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

About this color

#AF8B07 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.132 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Yellowy Brown (#AE8B0C), ΔE 0.002 away. Black text reads best on it, at 6.51:1.

Hue familyYellows
Lightnessmedium-light (65%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameYellowy Brown (#AE8B0C)
Black text6.51:1
White text3.22:1

Values

HEX#AF8B07
RGBrgb(175, 139, 7)
HSLhsl(47, 92%, 36%)
OKLCHoklch(65.2% 0.132 90)

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 #AF8B07 3.22:1 AA large text Lc -64.7 Content text, not long reading
Black text on #AF8B07 6.51:1 AA Lc 44.8 Non-text elements, placeholder text
#AF8B07 text on white 3.22:1 AA large text Lc 59.2 Large or bold text, headings
#AF8B07 text on black 6.51:1 AA Lc -42.5 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F8F5EF

    oklch(97.1% 0.009 84.6)

  2. Step 100

    100

    #EFEADC

    oklch(93.7% 0.019 90.5)

  3. Step 200

    200

    #E2D9BF

    oklch(88.6% 0.036 91.1)

  4. Step 300

    300

    #D1BF91

    oklch(80.8% 0.064 89.2)

  5. Step 400

    400

    #BA9E4F

    oklch(70.8% 0.104 90.1)

  6. Step 500

    500 (this color)

    #AF8B07

    oklch(65.2% 0.132 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312501

    oklch(27.1% 0.054 89.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF8B07 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)#9D8A000.030
Deuteranopia (no green cones)#A693160.023
Tritanopia (no blue cones)#BF7E760.119
Achromatopsia (no color)#8F8F8F0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8B07

    #AF8B07

    oklch(65.2% 0.132 90)

  • #718AE0

    #718AE0

    oklch(65.2% 0.132 270.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8B07

    #AF8B07

    oklch(65.2% 0.132 90)

  • #C97A2E

    #C97A2E

    oklch(65.2% 0.132 60.2)

  • #869B32

    #869B32

    oklch(65.2% 0.131 119.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF8B07

    #AF8B07

    oklch(65.2% 0.132 90)

  • #2F99D8

    #2F99D8

    oklch(65.3% 0.132 240.1)

  • #9D7CD4

    #9D7CD4

    oklch(65.3% 0.131 300.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8B07

    #AF8B07

    oklch(65.2% 0.132 90)

  • #00A2B6

    #00A2B6

    oklch(65.3% 0.113 210.1)

  • #BC70B6

    #BC70B6

    oklch(65.2% 0.132 329.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8B07

    #AF8B07

    oklch(65.2% 0.132 90)

  • #00A793

    #00A793

    oklch(65.3% 0.118 180.2)

  • #718AE0

    #718AE0

    oklch(65.2% 0.132 270.2)

  • #CF6A8C

    #CF6A8C

    oklch(65.1% 0.132 0.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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