#D4CF84

Closest named color: Greenish Beige (#C9D179). oklch(84.2% 0.096 105), rgb(212, 207, 132).

Aa

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

About this color

#D4CF84 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.096 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.023 away. Black text reads best on it, at 13.05:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text13.05:1
White text1.60:1

Values

HEX#D4CF84
RGBrgb(212, 207, 132)
HSLhsl(56, 48%, 67%)
OKLCHoklch(84.2% 0.096 105)

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 #D4CF84 1.60:1 Fails Lc -30.9 Non-text elements, placeholder text
Black text on #D4CF84 13.05:1 AAA Lc 76.5 Fine for body text
#D4CF84 text on white 1.60:1 Fails Lc 27.3 Dividers and decoration only
#D4CF84 text on black 13.05:1 AAA Lc -75.6 Fine for body text

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

    #F6F6EC

    oklch(97% 0.013 106.6)

  2. Step 100

    100

    #ECEBD6

    oklch(93.5% 0.028 104.7)

  3. Step 200

    200

    #DEDCB3

    oklch(88.6% 0.054 105.1)

  4. Step 300

    300 (this color)

    #D4CF84

    oklch(84.2% 0.096 105)

  5. Step 400

    400

    #AFA500

    oklch(70.8% 0.15 105.3)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#D4CF84 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)#DBCA7E0.015
Deuteranopia (no green cones)#DDCE870.014
Tritanopia (no blue cones)#DFC6BC0.086
Achromatopsia (no color)#CCCCCC0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4CF84

    #D4CF84

    oklch(84.2% 0.096 105)

  • #C5C4FF

    #C5C4FF

    oklch(84.1% 0.082 285.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4CF84

    #D4CF84

    oklch(84.2% 0.096 105)

  • #F0C283

    #F0C283

    oklch(84.1% 0.096 74.6)

  • #B0DA9A

    #B0DA9A

    oklch(84.2% 0.097 135.1)

Open the analogous palette in the generator

Split complementary

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

  • #D4CF84

    #D4CF84

    oklch(84.2% 0.096 105)

  • #A8CEFF

    #A8CEFF

    oklch(84.1% 0.08 255)

  • #E3B8F7

    #E3B8F7

    oklch(84.1% 0.097 314.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4CF84

    #D4CF84

    oklch(84.2% 0.096 105)

  • #82D9FA

    #82D9FA

    oklch(84.2% 0.096 224.5)

  • #F9B2D9

    #F9B2D9

    oklch(84.1% 0.096 345.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4CF84

    #D4CF84

    oklch(84.2% 0.096 105)

  • #78DFDE

    #78DFDE

    oklch(84.2% 0.096 194.6)

  • #C5C4FF

    #C5C4FF

    oklch(84.1% 0.082 285.3)

  • #FFB4B9

    #FFB4B9

    oklch(84.2% 0.088 14.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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