#DDB42B

Closest named color: Dark Yellow (#D5B60A). oklch(78.5% 0.149 90.7), rgb(221, 180, 43).

Aa

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

About this color

#DDB42B 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.019 away. Black text reads best on it, at 10.63:1.

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

Values

HEX#DDB42B
RGBrgb(221, 180, 43)
HSLhsl(46, 72%, 52%)
OKLCHoklch(78.5% 0.149 90.7)

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 #DDB42B 1.97:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #DDB42B 10.63:1 AAA Lc 66.0 Content text, not long reading
#DDB42B text on white 1.97:1 Fails Lc 37.9 Non-text elements, placeholder text
#DDB42B text on black 10.63:1 AAA Lc -64.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

    #FAF5E7

    oklch(97% 0.019 90.5)

  2. Step 100

    100

    #F5E9CA

    oklch(93.6% 0.043 89.4)

  3. Step 200

    200

    #EED89A

    oklch(88.6% 0.083 90.8)

  4. Step 300

    300 (this color)

    #DDB42B

    oklch(78.5% 0.149 90.7)

  5. Step 400

    400

    #C39C00

    oklch(70.8% 0.145 90.8)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  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

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#DDB42B 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.036
Deuteranopia (no green cones)#D3BD340.025
Tritanopia (no blue cones)#F0A49B0.137
Achromatopsia (no color)#B8B8B80.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #DDB42B

    #DDB42B

    oklch(78.5% 0.149 90.7)

  • #9FB5FF

    #9FB5FF

    oklch(78.5% 0.109 271)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DDB42B

    #DDB42B

    oklch(78.5% 0.149 90.7)

  • #FDA048

    #FDA048

    oklch(78.5% 0.15 60.8)

  • #ACC74E

    #ACC74E

    oklch(78.6% 0.15 120.6)

Open the analogous palette in the generator

Split complementary

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

  • #DDB42B

    #DDB42B

    oklch(78.5% 0.149 90.7)

  • #6BC3FF

    #6BC3FF

    oklch(78.6% 0.121 240.5)

  • #C7A5FF

    #C7A5FF

    oklch(78.5% 0.13 300.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DDB42B

    #DDB42B

    oklch(78.5% 0.149 90.7)

  • #00D0EA

    #00D0EA

    oklch(78.6% 0.136 210.6)

  • #EF94E5

    #EF94E5

    oklch(78.6% 0.149 330.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DDB42B

    #DDB42B

    oklch(78.5% 0.149 90.7)

  • #00D6BE

    #00D6BE

    oklch(78.5% 0.142 180.9)

  • #9FB5FF

    #9FB5FF

    oklch(78.5% 0.109 271)

  • #FF92B4

    #FF92B4

    oklch(78.4% 0.136 0.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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