#DCB42B

Closest named color: Dark Yellow (#D5B60A). oklch(78.4% 0.149 91.2), rgb(220, 180, 43).

Aa

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

About this color

#DCB42B is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.149 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.018 away. Black text reads best on it, at 10.60:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text10.60:1
White text1.97:1

Values

HEX#DCB42B
RGBrgb(220, 180, 43)
HSLhsl(46, 72%, 52%)
OKLCHoklch(78.4% 0.149 91.2)

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 #DCB42B 1.97:1 Fails Lc -42.5 Non-text elements, placeholder text
Black text on #DCB42B 10.60:1 AAA Lc 65.9 Content text, not long reading
#DCB42B text on white 1.97:1 Fails Lc 38.1 Non-text elements, placeholder text
#DCB42B text on black 10.60:1 AAA Lc -64.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

    #F4E9CA

    oklch(93.5% 0.042 90.8)

  3. Step 200

    200

    #EDD89A

    oklch(88.5% 0.083 91.5)

  4. Step 300

    300 (this color)

    #DCB42B

    oklch(78.4% 0.149 91.2)

  5. Step 400

    400

    #C29C00

    oklch(70.7% 0.145 91.2)

  6. Step 500

    500

    #A68500

    oklch(63% 0.129 91.2)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#DCB42B 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)#C9B2020.034
Deuteranopia (no green cones)#D3BD340.024
Tritanopia (no blue cones)#EFA49B0.137
Achromatopsia (no color)#B8B8B80.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCB42B

    #DCB42B

    oklch(78.4% 0.149 91.2)

  • #9FB5FF

    #9FB5FF

    oklch(78.5% 0.109 271)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCB42B

    #DCB42B

    oklch(78.4% 0.149 91.2)

  • #FCA048

    #FCA048

    oklch(78.4% 0.149 61.1)

  • #AAC74F

    #AAC74F

    oklch(78.4% 0.15 121.4)

Open the analogous palette in the generator

Split complementary

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

  • #DCB42B

    #DCB42B

    oklch(78.4% 0.149 91.2)

  • #6BC2FF

    #6BC2FF

    oklch(78.4% 0.121 241.2)

  • #C7A4FF

    #C7A4FF

    oklch(78.4% 0.131 301.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCB42B

    #DCB42B

    oklch(78.4% 0.149 91.2)

  • #00CFEA

    #00CFEA

    oklch(78.4% 0.136 211.2)

  • #EF93E4

    #EF93E4

    oklch(78.4% 0.15 331.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCB42B

    #DCB42B

    oklch(78.4% 0.149 91.2)

  • #00D5BE

    #00D5BE

    oklch(78.3% 0.141 181.4)

  • #9FB5FF

    #9FB5FF

    oklch(78.5% 0.109 271)

  • #FF92B3

    #FF92B3

    oklch(78.4% 0.135 1.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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