#D8B61C

Closest named color: Dark Yellow (#D5B60A). oklch(78.3% 0.155 94.8), rgb(216, 182, 28).

Aa

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

About this color

#D8B61C is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.155 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.007 away. Black text reads best on it, at 10.62:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text10.62:1
White text1.97:1

Values

HEX#D8B61C
RGBrgb(216, 182, 28)
HSLhsl(49, 77%, 48%)
OKLCHoklch(78.3% 0.155 94.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 #D8B61C 1.97:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #D8B61C 10.62:1 AAA Lc 66.0 Content text, not long reading
#D8B61C text on white 1.97:1 Fails Lc 37.9 Non-text elements, placeholder text
#D8B61C text on black 10.62:1 AAA Lc -64.5 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

    #FAF6E6

    oklch(97.2% 0.021 95.3)

  2. Step 100

    100

    #F3EAC9

    oklch(93.6% 0.044 94.5)

  3. Step 200

    200

    #EBD997

    oklch(88.5% 0.087 94.7)

  4. Step 300

    300 (this color)

    #D8B61C

    oklch(78.3% 0.155 94.8)

  5. Step 400

    400

    #BD9E00

    oklch(70.6% 0.145 94.9)

  6. Step 500

    500

    #A28700

    oklch(63% 0.129 94.8)

  7. Step 600

    600

    #897200

    oklch(55.8% 0.114 94.9)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#D8B61C 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)#CBB2000.025
Deuteranopia (no green cones)#D3BD2A0.018
Tritanopia (no blue cones)#EAA69C0.144
Achromatopsia (no color)#B8B8B80.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8B61C

    #D8B61C

    oklch(78.3% 0.155 94.8)

  • #A3B3FF

    #A3B3FF

    oklch(78.3% 0.11 274.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8B61C

    #D8B61C

    oklch(78.3% 0.155 94.8)

  • #FCA139

    #FCA139

    oklch(78.4% 0.156 64.7)

  • #A2C94F

    #A2C94F

    oklch(78.3% 0.155 124.9)

Open the analogous palette in the generator

Split complementary

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

  • #D8B61C

    #D8B61C

    oklch(78.3% 0.155 94.8)

  • #73C0FF

    #73C0FF

    oklch(78.3% 0.118 244.8)

  • #CDA1FF

    #CDA1FF

    oklch(78.4% 0.137 305)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8B61C

    #D8B61C

    oklch(78.3% 0.155 94.8)

  • #00CEEF

    #00CEEF

    oklch(78.3% 0.138 214.7)

  • #F490E0

    #F490E0

    oklch(78.3% 0.155 334.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8B61C

    #D8B61C

    oklch(78.3% 0.155 94.8)

  • #00D4C4

    #00D4C4

    oklch(78.2% 0.138 185.3)

  • #A3B3FF

    #A3B3FF

    oklch(78.3% 0.11 274.5)

  • #FF93AD

    #FF93AD

    oklch(78.4% 0.132 5.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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