#DFBA3F

Closest named color: Macaroni And Cheese (#EFB435). oklch(80% 0.142 91.7), rgb(223, 186, 63).

Aa

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

About this color

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

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

Values

HEX#DFBA3F
RGBrgb(223, 186, 63)
HSLhsl(46, 71%, 56%)
OKLCHoklch(80% 0.142 91.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 #DFBA3F 1.86:1 Fails Lc -39.4 Non-text elements, placeholder text
Black text on #DFBA3F 11.23:1 AAA Lc 68.7 Content text, not long reading
#DFBA3F text on white 1.86:1 Fails Lc 35.2 Non-text elements, placeholder text
#DFBA3F text on black 11.23:1 AAA Lc -67.3 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

    #F4EACB

    oklch(93.7% 0.042 92.2)

  3. Step 200

    200

    #ECD89D

    oklch(88.5% 0.079 91.5)

  4. Step 300

    300 (this color)

    #DFBA3F

    oklch(80% 0.142 91.7)

  5. Step 400

    400

    #C19C00

    oklch(70.6% 0.144 91.7)

  6. Step 500

    500

    #A68600

    oklch(63.2% 0.129 91.9)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  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

#DFBA3F 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)#CEB72D0.031
Deuteranopia (no green cones)#D7C2460.022
Tritanopia (no blue cones)#F1ABA10.129
Achromatopsia (no color)#BDBDBD0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFBA3F

    #DFBA3F

    oklch(80% 0.142 91.7)

  • #A7BAFF

    #A7BAFF

    oklch(80% 0.1 272.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFBA3F

    #DFBA3F

    oklch(80% 0.142 91.7)

  • #FFA754

    #FFA754

    oklch(80.1% 0.143 61.6)

  • #AFCC5C

    #AFCC5C

    oklch(80.1% 0.143 121.8)

Open the analogous palette in the generator

Split complementary

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

  • #DFBA3F

    #DFBA3F

    oklch(80% 0.142 91.7)

  • #7AC7FF

    #7AC7FF

    oklch(80.1% 0.11 241.5)

  • #CCABFF

    #CCABFF

    oklch(80% 0.121 301.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFBA3F

    #DFBA3F

    oklch(80% 0.142 91.7)

  • #00D5F1

    #00D5F1

    oklch(80.1% 0.139 211.4)

  • #F39AE7

    #F39AE7

    oklch(80% 0.143 331.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFBA3F

    #DFBA3F

    oklch(80% 0.142 91.7)

  • #0EDBC4

    #0EDBC4

    oklch(80% 0.142 181.6)

  • #A7BAFF

    #A7BAFF

    oklch(80% 0.1 272.1)

  • #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 #DFBA3F, closest first.

Similar named colors

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

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