#DCBD12

Closest named color: Mustard Yellow (#D2BD0A). oklch(80.1% 0.162 96.9), rgb(220, 189, 18).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.162)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.33:1
White text1.85:1

Values

HEX#DCBD12
RGBrgb(220, 189, 18)
HSLhsl(51, 85%, 47%)
OKLCHoklch(80.1% 0.162 96.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 #DCBD12 1.85:1 Fails Lc -38.9 Non-text elements, placeholder text
Black text on #DCBD12 11.33:1 AAA Lc 69.2 Content text, not long reading
#DCBD12 text on white 1.85:1 Fails Lc 34.7 Non-text elements, placeholder text
#DCBD12 text on black 11.33:1 AAA Lc -67.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

    #F9F6E6

    oklch(97.1% 0.021 98.1)

  2. Step 100

    100

    #F2EBC7

    oklch(93.6% 0.048 98.1)

  3. Step 200

    200

    #EADA94

    oklch(88.5% 0.091 96.8)

  4. Step 300

    300 (this color)

    #DCBD12

    oklch(80.1% 0.162 96.9)

  5. Step 400

    400

    #BBA000

    oklch(70.8% 0.146 97)

  6. Step 500

    500

    #A08900

    oklch(63.2% 0.13 97.2)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#DCBD12 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)#D2B9000.019
Deuteranopia (no green cones)#DAC3260.014
Tritanopia (no blue cones)#EEADA10.149
Achromatopsia (no color)#BEBEBE0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCBD12

    #DCBD12

    oklch(80.1% 0.162 96.9)

  • #ADB8FF

    #ADB8FF

    oklch(80% 0.101 277.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCBD12

    #DCBD12

    oklch(80.1% 0.162 96.9)

  • #FFA840

    #FFA840

    oklch(80.1% 0.153 66.6)

  • #A2D153

    #A2D153

    oklch(80.2% 0.163 127)

Open the analogous palette in the generator

Split complementary

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

  • #DCBD12

    #DCBD12

    oklch(80.1% 0.162 96.9)

  • #84C5FF

    #84C5FF

    oklch(80.2% 0.106 246.5)

  • #D4A7FF

    #D4A7FF

    oklch(80.1% 0.13 307.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCBD12

    #DCBD12

    oklch(80.1% 0.162 96.9)

  • #00D4FA

    #00D4FA

    oklch(80.2% 0.143 216.9)

  • #FF92E4

    #FF92E4

    oklch(80.1% 0.163 336.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCBD12

    #DCBD12

    oklch(80.1% 0.162 96.9)

  • #00DBCD

    #00DBCD

    oklch(80.2% 0.14 186.7)

  • #ADB8FF

    #ADB8FF

    oklch(80% 0.101 277.1)

  • #FF9DB1

    #FF9DB1

    oklch(80.1% 0.119 6.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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