#D2BF5A

Closest named color: Saffron (#E9C46A). oklch(80.1% 0.123 98.8), rgb(210, 191, 90).

Aa

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

About this color

#D2BF5A is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.123 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Saffron (#E9C46A), ΔE 0.042 away. Black text reads best on it, at 11.34:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameSaffron (#E9C46A)
Black text11.34:1
White text1.85:1

Values

HEX#D2BF5A
RGBrgb(210, 191, 90)
HSLhsl(51, 57%, 59%)
OKLCHoklch(80.1% 0.123 98.8)

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 #D2BF5A 1.85:1 Fails Lc -39.0 Non-text elements, placeholder text
Black text on #D2BF5A 11.34:1 AAA Lc 69.1 Content text, not long reading
#D2BF5A text on white 1.85:1 Fails Lc 34.8 Non-text elements, placeholder text
#D2BF5A text on black 11.34:1 AAA Lc -67.8 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

    #F8F6E9

    oklch(97.1% 0.017 99.6)

  2. Step 100

    100

    #EFEBD0

    oklch(93.6% 0.036 100.1)

  3. Step 200

    200

    #E4DBA6

    oklch(88.6% 0.07 99.6)

  4. Step 300

    300 (this color)

    #D2BF5A

    oklch(80.1% 0.123 98.8)

  5. Step 400

    400

    #B8A100

    oklch(70.8% 0.147 99)

  6. Step 500

    500

    #9E8A00

    oklch(63.2% 0.131 99)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2600

    oklch(26.8% 0.056 98.7)

Export this scale for Tailwind in the Tailwind colors tool

#D2BF5A 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)#CFBA500.015
Deuteranopia (no green cones)#D4C15F0.007
Tritanopia (no blue cones)#E1B3A90.113
Achromatopsia (no color)#BEBEBE0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2BF5A

    #D2BF5A

    oklch(80.1% 0.123 98.8)

  • #AFB7FF

    #AFB7FF

    oklch(80% 0.102 278.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2BF5A

    #D2BF5A

    oklch(80.1% 0.123 98.8)

  • #F2AF60

    #F2AF60

    oklch(80.2% 0.124 69)

  • #A6CD75

    #A6CD75

    oklch(80% 0.123 128.4)

Open the analogous palette in the generator

Split complementary

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

  • #D2BF5A

    #D2BF5A

    oklch(80.1% 0.123 98.8)

  • #87C4FF

    #87C4FF

    oklch(80.1% 0.105 248.5)

  • #D5A8FB

    #D5A8FB

    oklch(80.2% 0.124 308.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2BF5A

    #D2BF5A

    oklch(80.1% 0.123 98.8)

  • #4AD0F3

    #4AD0F3

    oklch(79.9% 0.123 218.9)

  • #F29ED9

    #F29ED9

    oklch(80.1% 0.124 338.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2BF5A

    #D2BF5A

    oklch(80.1% 0.123 98.8)

  • #42D7CE

    #42D7CE

    oklch(80% 0.123 189.1)

  • #AFB7FF

    #AFB7FF

    oklch(80% 0.102 278.9)

  • #FF9DAE

    #FF9DAE

    oklch(80% 0.118 8.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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