#D4BA64

Closest named color: Dark Khaki (#BDB76B). oklch(79.3% 0.11 92.9), rgb(212, 186, 100).

Aa

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

About this color

#D4BA64 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.110 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.036 away. Black text reads best on it, at 11.00:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.110)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text11.00:1
White text1.90:1

Values

HEX#D4BA64
RGBrgb(212, 186, 100)
HSLhsl(46, 57%, 61%)
OKLCHoklch(79.3% 0.11 92.9)

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 #D4BA64 1.90:1 Fails Lc -40.6 Non-text elements, placeholder text
Black text on #D4BA64 11.00:1 AAA Lc 67.6 Content text, not long reading
#D4BA64 text on white 1.90:1 Fails Lc 36.3 Non-text elements, placeholder text
#D4BA64 text on black 11.00:1 AAA Lc -66.2 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

    #F9F5EB

    oklch(97.1% 0.014 88.7)

  2. Step 100

    100

    #F1EAD2

    oklch(93.6% 0.033 93.5)

  3. Step 200

    200

    #E7D9AC

    oklch(88.5% 0.061 92.8)

  4. Step 300

    300 (this color)

    #D4BA64

    oklch(79.3% 0.11 92.9)

  5. Step 400

    400

    #C09D00

    oklch(70.7% 0.145 92.8)

  6. Step 500

    500

    #A48600

    oklch(63% 0.129 93)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#D4BA64 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)#CAB75C0.019
Deuteranopia (no green cones)#D1BF670.013
Tritanopia (no blue cones)#E3AEA60.101
Achromatopsia (no color)#BCBCBC0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4BA64

    #D4BA64

    oklch(79.3% 0.11 92.9)

  • #A5B7FF

    #A5B7FF

    oklch(79.3% 0.105 273)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4BA64

    #D4BA64

    oklch(79.3% 0.11 92.9)

  • #EEAC6E

    #EEAC6E

    oklch(79.4% 0.11 63.3)

  • #AEC776

    #AEC776

    oklch(79.2% 0.11 122.9)

Open the analogous palette in the generator

Split complementary

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

  • #D4BA64

    #D4BA64

    oklch(79.3% 0.11 92.9)

  • #7AC4FD

    #7AC4FD

    oklch(79.4% 0.11 243)

  • #CAAAF6

    #CAAAF6

    oklch(79.3% 0.111 303.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4BA64

    #D4BA64

    oklch(79.3% 0.11 92.9)

  • #57CEE6

    #57CEE6

    oklch(79.3% 0.111 213.2)

  • #E6A1DA

    #E6A1DA

    oklch(79.3% 0.11 332.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4BA64

    #D4BA64

    oklch(79.3% 0.11 92.9)

  • #5BD3C2

    #5BD3C2

    oklch(79.4% 0.111 182.7)

  • #A5B7FF

    #A5B7FF

    oklch(79.3% 0.105 273)

  • #F79DB5

    #F79DB5

    oklch(79.3% 0.111 2.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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