#DFBA42

Closest named color: Macaroni And Cheese (#EFB435). oklch(80% 0.14 91.4), rgb(223, 186, 66).

Aa

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

About this color

#DFBA42 is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.140 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Macaroni And Cheese (#EFB435), ΔE 0.026 away. Black text reads best on it, at 11.23:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.140)
Temperaturewarm
Nearest nameMacaroni And Cheese (#EFB435)
Black text11.23:1
White text1.86:1

Values

HEX#DFBA42
RGBrgb(223, 186, 66)
HSLhsl(46, 71%, 57%)
OKLCHoklch(80% 0.14 91.4)

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 #DFBA42 1.86:1 Fails Lc -39.4 Non-text elements, placeholder text
Black text on #DFBA42 11.23:1 AAA Lc 68.7 Content text, not long reading
#DFBA42 text on white 1.86:1 Fails Lc 35.2 Non-text elements, placeholder text
#DFBA42 text on black 11.23:1 AAA Lc -67.4 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

    #FAF5E8

    oklch(97% 0.018 89.4)

  2. Step 100

    100

    #F4EACC

    oklch(93.7% 0.041 91.7)

  3. Step 200

    200

    #ECD89E

    oklch(88.5% 0.078 91.3)

  4. Step 300

    300 (this color)

    #DFBA42

    oklch(80% 0.14 91.4)

  5. Step 400

    400

    #C29C00

    oklch(70.7% 0.145 91.2)

  6. Step 500

    500

    #A68500

    oklch(63% 0.129 91.2)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614D00

    oklch(42.9% 0.088 91.6)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#DFBA42 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)#CEB7310.031
Deuteranopia (no green cones)#D7C2480.022
Tritanopia (no blue cones)#F1ABA20.128
Achromatopsia (no color)#BEBEBE0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFBA42

    #DFBA42

    oklch(80% 0.14 91.4)

  • #A6BAFF

    #A6BAFF

    oklch(79.9% 0.101 271.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFBA42

    #DFBA42

    oklch(80% 0.14 91.4)

  • #FEA757

    #FEA757

    oklch(80% 0.14 61.1)

  • #B0CC5E

    #B0CC5E

    oklch(80.1% 0.14 121.5)

Open the analogous palette in the generator

Split complementary

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

  • #DFBA42

    #DFBA42

    oklch(80% 0.14 91.4)

  • #79C7FF

    #79C7FF

    oklch(80.1% 0.111 241.2)

  • #CBABFF

    #CBABFF

    oklch(80% 0.121 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFBA42

    #DFBA42

    oklch(80% 0.14 91.4)

  • #00D5F1

    #00D5F1

    oklch(80.1% 0.139 211.4)

  • #F29BE7

    #F29BE7

    oklch(80.1% 0.141 331.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFBA42

    #DFBA42

    oklch(80% 0.14 91.4)

  • #1DDBC4

    #1DDBC4

    oklch(80.1% 0.14 181.5)

  • #A6BAFF

    #A6BAFF

    oklch(79.9% 0.101 271.5)

  • #FF9BB8

    #FF9BB8

    oklch(80% 0.123 1.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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