#D7BA62

Closest named color: Desert (#CCAD60). oklch(79.6% 0.113 91.5), rgb(215, 186, 98).

Aa

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

About this color

#D7BA62 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.113 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.039 away. Black text reads best on it, at 11.08:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.113)
Temperaturewarm
Nearest nameDesert (#CCAD60)
Black text11.08:1
White text1.89:1

Values

HEX#D7BA62
RGBrgb(215, 186, 98)
HSLhsl(45, 59%, 61%)
OKLCHoklch(79.6% 0.113 91.5)

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 #D7BA62 1.89:1 Fails Lc -40.2 Non-text elements, placeholder text
Black text on #D7BA62 11.08:1 AAA Lc 68.0 Content text, not long reading
#D7BA62 text on white 1.89:1 Fails Lc 35.9 Non-text elements, placeholder text
#D7BA62 text on black 11.08:1 AAA Lc -66.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

    #F9F5EA

    oklch(97% 0.015 90.2)

  2. Step 100

    100

    #F2EAD2

    oklch(93.7% 0.033 91.7)

  3. Step 200

    200

    #E8D8AA

    oklch(88.4% 0.063 91.1)

  4. Step 300

    300 (this color)

    #D7BA62

    oklch(79.6% 0.113 91.5)

  5. Step 400

    400

    #C29C00

    oklch(70.7% 0.145 91.2)

  6. Step 500

    500

    #A68600

    oklch(63.2% 0.129 91.9)

  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

    #614D00

    oklch(42.9% 0.088 91.6)

  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

#D7BA62 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)#CBB75A0.022
Deuteranopia (no green cones)#D2C0650.016
Tritanopia (no blue cones)#E6AEA60.103
Achromatopsia (no color)#BCBCBC0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7BA62

    #D7BA62

    oklch(79.6% 0.113 91.5)

  • #A5B9FF

    #A5B9FF

    oklch(79.7% 0.102 271.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7BA62

    #D7BA62

    oklch(79.6% 0.113 91.5)

  • #F1AB6E

    #F1AB6E

    oklch(79.5% 0.113 61.2)

  • #B1C873

    #B1C873

    oklch(79.6% 0.113 121.4)

Open the analogous palette in the generator

Split complementary

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

  • #D7BA62

    #D7BA62

    oklch(79.6% 0.113 91.5)

  • #76C5FF

    #76C5FF

    oklch(79.5% 0.114 241.9)

  • #C9ABF9

    #C9ABF9

    oklch(79.5% 0.113 301.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7BA62

    #D7BA62

    oklch(79.6% 0.113 91.5)

  • #53D0E6

    #53D0E6

    oklch(79.7% 0.113 211.2)

  • #E7A1DD

    #E7A1DD

    oklch(79.5% 0.113 331.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7BA62

    #D7BA62

    oklch(79.6% 0.113 91.5)

  • #5AD4C1

    #5AD4C1

    oklch(79.6% 0.113 181.5)

  • #A5B9FF

    #A5B9FF

    oklch(79.7% 0.102 271.7)

  • #F99DB7

    #F99DB7

    oklch(79.6% 0.113 1.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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