#D0CF3A

Closest named color: Mustard Yellow (#D2BD0A). oklch(83% 0.162 109.1), rgb(208, 207, 58).

Aa

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

About this color

#D0CF3A is a light, vivid yellow. In OKLCH its lightness is 83%, its chroma 0.162 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.044 away. Black text reads best on it, at 12.66:1.

Hue familyYellows
Lightnesslight (83%)
Chromavivid (0.162)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text12.66:1
White text1.65:1

Values

HEX#D0CF3A
RGBrgb(208, 207, 58)
HSLhsl(60, 61%, 52%)
OKLCHoklch(83% 0.162 109.1)

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 #D0CF3A 1.65:1 Fails Lc -32.5 Non-text elements, placeholder text
Black text on #D0CF3A 12.66:1 AAA Lc 74.9 Content text, not long reading
#D0CF3A text on white 1.65:1 Fails Lc 28.9 Dividers and decoration only
#D0CF3A text on black 12.66:1 AAA Lc -74.0 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

    #F6F7E7

    oklch(97.1% 0.021 109.7)

  2. Step 100

    100

    #ECEDC9

    oklch(93.6% 0.047 108.6)

  3. Step 200

    200

    #DDDF99

    oklch(88.6% 0.09 109.5)

  4. Step 300

    300 (this color)

    #D0CF3A

    oklch(83% 0.162 109.1)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535200

    oklch(42.6% 0.092 108.9)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#D0CF3A 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)#E0C61D0.029
Deuteranopia (no green cones)#E2CB450.030
Tritanopia (no blue cones)#DFC2B20.145
Achromatopsia (no color)#C9C9C90.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #D0CF3A

    #D0CF3A

    oklch(83% 0.162 109.1)

  • #C5BEFF

    #C5BEFF

    oklch(83% 0.091 289.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D0CF3A

    #D0CF3A

    oklch(83% 0.162 109.1)

  • #FFB92B

    #FFB92B

    oklch(83% 0.162 79.1)

  • #8DE076

    #8DE076

    oklch(82.9% 0.162 139.2)

Open the analogous palette in the generator

Split complementary

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

  • #D0CF3A

    #D0CF3A

    oklch(83% 0.162 109.1)

  • #A6C9FF

    #A6C9FF

    oklch(83% 0.085 258.9)

  • #EDAAFF

    #EDAAFF

    oklch(83% 0.135 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D0CF3A

    #D0CF3A

    oklch(83% 0.162 109.1)

  • #76D5FF

    #76D5FF

    oklch(83% 0.108 228.8)

  • #FFA9D3

    #FFA9D3

    oklch(83.1% 0.113 349.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D0CF3A

    #D0CF3A

    oklch(83% 0.162 109.1)

  • #00E2EA

    #00E2EA

    oklch(82.9% 0.141 199.4)

  • #C5BEFF

    #C5BEFF

    oklch(83% 0.091 289.2)

  • #FFAFAF

    #FFAFAF

    oklch(83.1% 0.094 19.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D0CF3A.

Similar named colors

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

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