#DCB74B

Closest named color: Macaroni And Cheese (#EFB435). oklch(79.2% 0.132 90), rgb(220, 183, 75).

Aa

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

About this color

#DCB74B is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.132 and its hue 90°. 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 10.91:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameMacaroni And Cheese (#EFB435)
Black text10.91:1
White text1.92:1

Values

HEX#DCB74B
RGBrgb(220, 183, 75)
HSLhsl(45, 67%, 58%)
OKLCHoklch(79.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 #DCB74B 1.92:1 Fails Lc -41.0 Non-text elements, placeholder text
Black text on #DCB74B 10.91:1 AAA Lc 67.2 Content text, not long reading
#DCB74B text on white 1.92:1 Fails Lc 36.7 Non-text elements, placeholder text
#DCB74B text on black 10.91:1 AAA Lc -65.8 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

    #F4E9CE

    oklch(93.6% 0.038 88.5)

  3. Step 200

    200

    #ECD8A2

    oklch(88.6% 0.073 90.1)

  4. Step 300

    300 (this color)

    #DCB74B

    oklch(79.2% 0.132 90)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 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

    #624C00

    oklch(42.8% 0.087 89.5)

  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

#DCB74B 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)#CAB53E0.031
Deuteranopia (no green cones)#D3BF500.023
Tritanopia (no blue cones)#EDA9A00.119
Achromatopsia (no color)#BBBBBB0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCB74B

    #DCB74B

    oklch(79.2% 0.132 90)

  • #A1B8FF

    #A1B8FF

    oklch(79.2% 0.105 270.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCB74B

    #DCB74B

    oklch(79.2% 0.132 90)

  • #F9A65E

    #F9A65E

    oklch(79.3% 0.132 60)

  • #B0C861

    #B0C861

    oklch(79.3% 0.132 120.4)

Open the analogous palette in the generator

Split complementary

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

  • #DCB74B

    #DCB74B

    oklch(79.2% 0.132 90)

  • #6FC5FF

    #6FC5FF

    oklch(79.2% 0.118 240)

  • #C7A9FF

    #C7A9FF

    oklch(79.2% 0.123 299.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCB74B

    #DCB74B

    oklch(79.2% 0.132 90)

  • #25D2EA

    #25D2EA

    oklch(79.4% 0.132 209.9)

  • #EB9BE3

    #EB9BE3

    oklch(79.2% 0.132 330.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCB74B

    #DCB74B

    oklch(79.2% 0.132 90)

  • #38D6BE

    #38D6BE

    oklch(79.1% 0.131 180)

  • #A1B8FF

    #A1B8FF

    oklch(79.2% 0.105 270.1)

  • #FF96B8

    #FF96B8

    oklch(79.2% 0.131 359.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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