#DFBD42

Closest named color: Macaroni And Cheese (#EFB435). oklch(80.6% 0.142 93.2), rgb(223, 189, 66).

Aa

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

About this color

#DFBD42 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.142 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Macaroni And Cheese (#EFB435), ΔE 0.030 away. Black text reads best on it, at 11.49:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameMacaroni And Cheese (#EFB435)
Black text11.49:1
White text1.82:1

Values

HEX#DFBD42
RGBrgb(223, 189, 66)
HSLhsl(47, 71%, 57%)
OKLCHoklch(80.6% 0.142 93.2)

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 #DFBD42 1.82:1 Fails Lc -38.1 Non-text elements, placeholder text
Black text on #DFBD42 11.49:1 AAA Lc 69.8 Content text, not long reading
#DFBD42 text on white 1.82:1 Fails Lc 34.0 Non-text elements, placeholder text
#DFBD42 text on black 11.49:1 AAA Lc -68.6 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

    #F3EACC

    oklch(93.6% 0.041 93.2)

  3. Step 200

    200

    #EBD99D

    oklch(88.6% 0.08 93.4)

  4. Step 300

    300 (this color)

    #DFBD42

    oklch(80.6% 0.142 93.2)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48600

    oklch(63% 0.129 93)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#DFBD42 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)#D1BA300.027
Deuteranopia (no green cones)#D9C4490.018
Tritanopia (no blue cones)#F1AEA40.130
Achromatopsia (no color)#C0C0C00.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFBD42

    #DFBD42

    oklch(80.6% 0.142 93.2)

  • #ABBCFF

    #ABBCFF

    oklch(80.7% 0.097 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFBD42

    #DFBD42

    oklch(80.6% 0.142 93.2)

  • #FFAA56

    #FFAA56

    oklch(80.6% 0.141 63)

  • #AECF61

    #AECF61

    oklch(80.7% 0.142 123.4)

Open the analogous palette in the generator

Split complementary

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

  • #DFBD42

    #DFBD42

    oklch(80.6% 0.142 93.2)

  • #81C8FF

    #81C8FF

    oklch(80.7% 0.106 243)

  • #CFADFF

    #CFADFF

    oklch(80.7% 0.118 302.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFBD42

    #DFBD42

    oklch(80.6% 0.142 93.2)

  • #00D7F6

    #00D7F6

    oklch(80.8% 0.141 212.9)

  • #F69CE7

    #F69CE7

    oklch(80.7% 0.142 333)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFBD42

    #DFBD42

    oklch(80.6% 0.142 93.2)

  • #0EDDC9

    #0EDDC9

    oklch(80.7% 0.142 183.3)

  • #ABBCFF

    #ABBCFF

    oklch(80.7% 0.097 273.1)

  • #FF9FB8

    #FF9FB8

    oklch(80.6% 0.117 3.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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