#D8AF22

Closest named color: Burnt Yellow (#D5AB09). oklch(76.9% 0.15 90.7), rgb(216, 175, 34).

Aa

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

About this color

#D8AF22 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.150 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Burnt Yellow (#D5AB09), ΔE 0.012 away. Black text reads best on it, at 10.07:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameBurnt Yellow (#D5AB09)
Black text10.07:1
White text2.08:1

Values

HEX#D8AF22
RGBrgb(216, 175, 34)
HSLhsl(46, 73%, 49%)
OKLCHoklch(76.9% 0.15 90.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 #D8AF22 2.08:1 Fails Lc -45.1 Large or bold text, headings
Black text on #D8AF22 10.07:1 AAA Lc 63.4 Content text, not long reading
#D8AF22 text on white 2.08:1 Fails Lc 40.5 Non-text elements, placeholder text
#D8AF22 text on black 10.07:1 AAA Lc -61.7 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

    #FAF5E7

    oklch(97% 0.019 90.5)

  2. Step 100

    100

    #F5E9CA

    oklch(93.6% 0.043 89.4)

  3. Step 200

    200

    #EED89A

    oklch(88.6% 0.083 90.8)

  4. Step 300

    300 (this color)

    #D8AF22

    oklch(76.9% 0.15 90.7)

  5. Step 400

    400

    #C39C00

    oklch(70.8% 0.145 90.8)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.4)

  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

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8AF22 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)#C4AD000.035
Deuteranopia (no green cones)#CEB82D0.025
Tritanopia (no blue cones)#EA9F960.137
Achromatopsia (no color)#B4B4B40.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8AF22

    #D8AF22

    oklch(76.9% 0.15 90.7)

  • #98B0FF

    #98B0FF

    oklch(77% 0.117 270.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8AF22

    #D8AF22

    oklch(76.9% 0.15 90.7)

  • #F89B43

    #F89B43

    oklch(77% 0.15 60.5)

  • #A7C249

    #A7C249

    oklch(77% 0.149 120.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8AF22

    #D8AF22

    oklch(76.9% 0.15 90.7)

  • #5DBEFF

    #5DBEFF

    oklch(77% 0.131 240.7)

  • #C39EFF

    #C39EFF

    oklch(76.9% 0.14 300.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8AF22

    #D8AF22

    oklch(76.9% 0.15 90.7)

  • #00CAE4

    #00CAE4

    oklch(76.9% 0.134 211)

  • #E98FE0

    #E98FE0

    oklch(76.9% 0.149 330.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8AF22

    #D8AF22

    oklch(76.9% 0.15 90.7)

  • #00D0B9

    #00D0B9

    oklch(76.9% 0.139 181.1)

  • #98B0FF

    #98B0FF

    oklch(77% 0.117 270.6)

  • #FF89AF

    #FF89AF

    oklch(76.9% 0.148 0.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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