#DCBC23

Closest named color: Mustard Yellow (#D2BD0A). oklch(80% 0.157 95.9), rgb(220, 188, 35).

Aa

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

About this color

#DCBC23 is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.157 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.018 away. Black text reads best on it, at 11.26:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.26:1
White text1.86:1

Values

HEX#DCBC23
RGBrgb(220, 188, 35)
HSLhsl(50, 73%, 50%)
OKLCHoklch(80% 0.157 95.9)

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 #DCBC23 1.86:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #DCBC23 11.26:1 AAA Lc 68.8 Content text, not long reading
#DCBC23 text on white 1.86:1 Fails Lc 35.0 Non-text elements, placeholder text
#DCBC23 text on black 11.26:1 AAA Lc -67.5 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

    #F9F6E6

    oklch(97.1% 0.021 98.1)

  2. Step 100

    100

    #F3EAC8

    oklch(93.5% 0.046 94.9)

  3. Step 200

    200

    #EADA97

    oklch(88.6% 0.087 96.3)

  4. Step 300

    300 (this color)

    #DCBC23

    oklch(80% 0.157 95.9)

  5. Step 400

    400

    #BC9F00

    oklch(70.7% 0.145 95.9)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#DCBC23 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)#D1B8000.022
Deuteranopia (no green cones)#D9C2300.015
Tritanopia (no blue cones)#EEACA10.145
Achromatopsia (no color)#BEBEBE0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCBC23

    #DCBC23

    oklch(80% 0.157 95.9)

  • #ABB8FF

    #ABB8FF

    oklch(79.9% 0.102 275.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCBC23

    #DCBC23

    oklch(80% 0.157 95.9)

  • #FFA742

    #FFA742

    oklch(79.9% 0.152 65.7)

  • #A5CF55

    #A5CF55

    oklch(80% 0.157 125.8)

Open the analogous palette in the generator

Split complementary

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

  • #DCBC23

    #DCBC23

    oklch(80% 0.157 95.9)

  • #81C5FF

    #81C5FF

    oklch(80% 0.108 245.4)

  • #D2A8FF

    #D2A8FF

    oklch(80.1% 0.127 305.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCBC23

    #DCBC23

    oklch(80% 0.157 95.9)

  • #00D3F7

    #00D3F7

    oklch(79.9% 0.142 216)

  • #FB94E4

    #FB94E4

    oklch(79.9% 0.157 335.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCBC23

    #DCBC23

    oklch(80% 0.157 95.9)

  • #00DACB

    #00DACB

    oklch(79.9% 0.14 186.1)

  • #ABB8FF

    #ABB8FF

    oklch(79.9% 0.102 275.9)

  • #FF9CB2

    #FF9CB2

    oklch(80% 0.12 5.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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