#D99B02

Closest named color: Yellow Ochre (#CB9D06). oklch(73% 0.151 79.8), rgb(217, 155, 2).

Aa

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

About this color

#D99B02 is a medium-light, vivid orange. In OKLCH its lightness is 73%, its chroma 0.151 and its hue 80°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.023 away. Black text reads best on it, at 8.63:1.

Hue familyOranges
Lightnessmedium-light (73%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.63:1
White text2.43:1

Values

HEX#D99B02
RGBrgb(217, 155, 2)
HSLhsl(43, 98%, 43%)
OKLCHoklch(73% 0.151 79.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 #D99B02 2.43:1 Fails Lc -52.5 Large or bold text, headings
Black text on #D99B02 8.63:1 AAA Lc 56.5 Large or bold text, headings
#D99B02 text on white 2.43:1 Fails Lc 47.5 Large or bold text, headings
#D99B02 text on black 8.63:1 AAA Lc -54.5 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FAF5EC

    oklch(97.2% 0.013 82.4)

  2. Step 100

    100

    #F4E8D6

    oklch(93.6% 0.027 78.2)

  3. Step 200

    200

    #ECD6B3

    oklch(88.5% 0.052 79.4)

  4. Step 300

    300

    #E1BA79

    oklch(80.9% 0.094 79.6)

  5. Step 400

    400 (this color)

    #D99B02

    oklch(73% 0.151 79.8)

  6. Step 500

    500

    #B27F00

    oklch(63.1% 0.131 80.3)

  7. Step 600

    600

    #966A00

    oklch(55.5% 0.115 79.9)

  8. Step 700

    700

    #7F5900

    oklch(49.2% 0.102 79.8)

  9. Step 800

    800

    #684800

    oklch(42.6% 0.088 79.5)

  10. Step 900

    900

    #573C00

    oklch(37.7% 0.078 80.1)

  11. Step 950

    950

    #352300

    oklch(27.1% 0.056 79.9)

Export this scale for Tailwind in the Tailwind colors tool

#D99B02 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)#B39D000.062
Deuteranopia (no green cones)#C2AC130.053
Tritanopia (no blue cones)#ED89840.132
Achromatopsia (no color)#A6A6A60.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99B02

    #D99B02

    oklch(73% 0.151 79.8)

  • #72A8FF

    #72A8FF

    oklch(73.1% 0.139 259.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99B02

    #D99B02

    oklch(73% 0.151 79.8)

  • #F28847

    #F28847

    oklch(73.1% 0.151 49.9)

  • #AFAF20

    #AFAF20

    oklch(73.1% 0.151 109.6)

Open the analogous palette in the generator

Split complementary

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

  • #D99B02

    #D99B02

    oklch(73% 0.151 79.8)

  • #00B7F1

    #00B7F1

    oklch(73% 0.146 230.1)

  • #A795FF

    #A795FF

    oklch(72.9% 0.151 289.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99B02

    #D99B02

    oklch(73% 0.151 79.8)

  • #00BFC6

    #00BFC6

    oklch(73.1% 0.124 199.5)

  • #D186E2

    #D186E2

    oklch(73% 0.151 320)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99B02

    #D99B02

    oklch(73% 0.151 79.8)

  • #00C499

    #00C499

    oklch(72.9% 0.145 169.7)

  • #72A8FF

    #72A8FF

    oklch(73.1% 0.139 259.6)

  • #ED7DB5

    #ED7DB5

    oklch(73.1% 0.151 350.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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