#DAB545

Closest named color: Dark Yellow (#D5B60A). oklch(78.6% 0.134 90.4), rgb(218, 181, 69).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.134)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text10.67:1
White text1.96:1

Values

HEX#DAB545
RGBrgb(218, 181, 69)
HSLhsl(45, 67%, 56%)
OKLCHoklch(78.6% 0.134 90.4)

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 #DAB545 1.96:1 Fails Lc -42.2 Non-text elements, placeholder text
Black text on #DAB545 10.67:1 AAA Lc 66.1 Content text, not long reading
#DAB545 text on white 1.96:1 Fails Lc 37.8 Non-text elements, placeholder text
#DAB545 text on black 10.67:1 AAA Lc -64.6 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

    #F4E9CD

    oklch(93.5% 0.039 89.1)

  3. Step 200

    200

    #ECD8A1

    oklch(88.6% 0.074 90.4)

  4. Step 300

    300 (this color)

    #DAB545

    oklch(78.6% 0.134 90.4)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.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

#DAB545 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)#C9B3370.030
Deuteranopia (no green cones)#D2BD4A0.022
Tritanopia (no blue cones)#EBA79E0.122
Achromatopsia (no color)#B9B9B90.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #DAB545

    #DAB545

    oklch(78.6% 0.134 90.4)

  • #9FB6FF

    #9FB6FF

    oklch(78.7% 0.108 270.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DAB545

    #DAB545

    oklch(78.6% 0.134 90.4)

  • #F7A359

    #F7A359

    oklch(78.5% 0.134 60.2)

  • #AEC65D

    #AEC65D

    oklch(78.6% 0.134 120.3)

Open the analogous palette in the generator

Split complementary

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

  • #DAB545

    #DAB545

    oklch(78.6% 0.134 90.4)

  • #6BC3FF

    #6BC3FF

    oklch(78.6% 0.121 240.5)

  • #C6A5FF

    #C6A5FF

    oklch(78.4% 0.129 300.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DAB545

    #DAB545

    oklch(78.6% 0.134 90.4)

  • #11D0E9

    #11D0E9

    oklch(78.7% 0.134 210.2)

  • #EA98E1

    #EA98E1

    oklch(78.5% 0.135 330.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DAB545

    #DAB545

    oklch(78.6% 0.134 90.4)

  • #2CD5BD

    #2CD5BD

    oklch(78.6% 0.135 180.3)

  • #9FB6FF

    #9FB6FF

    oklch(78.7% 0.108 270.4)

  • #FF93B5

    #FF93B5

    oklch(78.6% 0.135 0.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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