#D18D02

Closest named color: Ochre (#BF9005). oklch(69.5% 0.146 74.7), rgb(209, 141, 2).

Aa

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

About this color

#D18D02 is a medium-light, vivid orange. In OKLCH its lightness is 69%, its chroma 0.146 and its hue 75°. Its hue sits on the warm side of the wheel. The nearest named color is Ochre (#BF9005), ΔE 0.031 away. Black text reads best on it, at 7.52:1.

Hue familyOranges
Lightnessmedium-light (69%)
Chromavivid (0.146)
Temperaturewarm
Nearest nameOchre (#BF9005)
Black text7.52:1
White text2.79:1

Values

HEX#D18D02
RGBrgb(209, 141, 2)
HSLhsl(40, 98%, 41%)
OKLCHoklch(69.5% 0.146 74.7)

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 #D18D02 2.79:1 Fails Lc -58.7 Large or bold text, headings
Black text on #D18D02 7.52:1 AAA Lc 50.6 Large or bold text, headings
#D18D02 text on white 2.79:1 Fails Lc 53.4 Large or bold text, headings
#D18D02 text on black 7.52:1 AAA Lc -48.4 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

    #FAF4ED

    oklch(97% 0.011 71.9)

  2. Step 100

    100

    #F5E8D7

    oklch(93.7% 0.027 74.8)

  3. Step 200

    200

    #EDD5B5

    oklch(88.5% 0.05 75)

  4. Step 300

    300

    #E4B87D

    oklch(80.9% 0.091 74.1)

  5. Step 400

    400 (this color)

    #D18D02

    oklch(69.5% 0.146 74.7)

  6. Step 500

    500

    #B87B00

    oklch(63% 0.133 74.4)

  7. Step 600

    600

    #9B6700

    oklch(55.5% 0.117 74.4)

  8. Step 700

    700

    #835600

    oklch(49.1% 0.104 74.1)

  9. Step 800

    800

    #6B4600

    oklch(42.6% 0.09 74.7)

  10. Step 900

    900

    #5A3A00

    oklch(37.7% 0.08 74.4)

  11. Step 950

    950

    #362200

    oklch(27% 0.057 76.3)

Export this scale for Tailwind in the Tailwind colors tool

#D18D02 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)#A591000.073
Deuteranopia (no green cones)#B5A10E0.065
Tritanopia (no blue cones)#E57B780.123
Achromatopsia (no color)#9B9B9B0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #D18D02

    #D18D02

    oklch(69.5% 0.146 74.7)

  • #599FF5

    #599FF5

    oklch(69.5% 0.146 254.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D18D02

    #D18D02

    oklch(69.5% 0.146 74.7)

  • #E67C49

    #E67C49

    oklch(69.6% 0.147 45.1)

  • #ABA005

    #ABA005

    oklch(69.3% 0.146 104.6)

Open the analogous palette in the generator

Split complementary

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

  • #D18D02

    #D18D02

    oklch(69.5% 0.146 74.7)

  • #00ADD9

    #00ADD9

    oklch(69.5% 0.131 224.4)

  • #948EF3

    #948EF3

    oklch(69.5% 0.146 284.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D18D02

    #D18D02

    oklch(69.5% 0.146 74.7)

  • #00B3B3

    #00B3B3

    oklch(69.4% 0.119 194.8)

  • #BE7FDB

    #BE7FDB

    oklch(69.5% 0.146 314.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D18D02

    #D18D02

    oklch(69.5% 0.146 74.7)

  • #02B885

    #02B885

    oklch(69.3% 0.146 164.8)

  • #599FF5

    #599FF5

    oklch(69.5% 0.146 254.7)

  • #DB74B2

    #DB74B2

    oklch(69.4% 0.147 344.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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