#DCB540

Closest named color: Dark Yellow (#D5B60A). oklch(78.7% 0.138 90), rgb(220, 181, 64).

Aa

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

About this color

#DCB540 is a light, moderately saturated orange. In OKLCH its lightness is 79%, its chroma 0.138 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.028 away. Black text reads best on it, at 10.72:1.

Hue familyOranges
Lightnesslight (79%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text10.72:1
White text1.95:1

Values

HEX#DCB540
RGBrgb(220, 181, 64)
HSLhsl(45, 69%, 56%)
OKLCHoklch(78.7% 0.138 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 #DCB540 1.95:1 Fails Lc -41.9 Non-text elements, placeholder text
Black text on #DCB540 10.72:1 AAA Lc 66.4 Content text, not long reading
#DCB540 text on white 1.95:1 Fails Lc 37.5 Non-text elements, placeholder text
#DCB540 text on black 10.72:1 AAA Lc -64.9 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

    #F4E9CC

    oklch(93.5% 0.04 89.7)

  3. Step 200

    200

    #EDD89F

    oklch(88.6% 0.077 90.2)

  4. Step 300

    300 (this color)

    #DCB540

    oklch(78.7% 0.138 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

#DCB540 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)#C9B32F0.034
Deuteranopia (no green cones)#D3BE460.025
Tritanopia (no blue cones)#EEA69D0.125
Achromatopsia (no color)#B9B9B90.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCB540

    #DCB540

    oklch(78.7% 0.138 90)

  • #9FB6FF

    #9FB6FF

    oklch(78.7% 0.108 270.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCB540

    #DCB540

    oklch(78.7% 0.138 90)

  • #FAA356

    #FAA356

    oklch(78.8% 0.138 60.1)

  • #AEC659

    #AEC659

    oklch(78.6% 0.138 120)

Open the analogous palette in the generator

Split complementary

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

  • #DCB540

    #DCB540

    oklch(78.7% 0.138 90)

  • #6BC4FF

    #6BC4FF

    oklch(78.8% 0.12 239.8)

  • #C6A6FF

    #C6A6FF

    oklch(78.6% 0.128 300)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCB540

    #DCB540

    oklch(78.7% 0.138 90)

  • #00D1EA

    #00D1EA

    oklch(78.9% 0.136 210)

  • #EB98E4

    #EB98E4

    oklch(78.7% 0.138 329.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCB540

    #DCB540

    oklch(78.7% 0.138 90)

  • #21D6BD

    #21D6BD

    oklch(78.7% 0.138 180)

  • #9FB6FF

    #9FB6FF

    oklch(78.7% 0.108 270.4)

  • #FF93B6

    #FF93B6

    oklch(78.7% 0.135 359.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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