#CA8D04

Closest named color: Ochre (#BF9005). oklch(68.6% 0.142 77.8), rgb(202, 141, 4).

Aa

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

About this color

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

Hue familyOranges
Lightnessmedium-light (69%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameOchre (#BF9005)
Black text7.32:1
White text2.86:1

Values

HEX#CA8D04
RGBrgb(202, 141, 4)
HSLhsl(42, 96%, 40%)
OKLCHoklch(68.6% 0.142 77.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 #CA8D04 2.86:1 Fails Lc -59.8 Large or bold text, headings
Black text on #CA8D04 7.32:1 AAA Lc 49.5 Large or bold text, headings
#CA8D04 text on white 2.86:1 Fails Lc 54.6 Large or bold text, headings
#CA8D04 text on black 7.32:1 AAA Lc -47.3 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

    #FAF5ED

    oklch(97.2% 0.012 79.8)

  2. Step 100

    100

    #F4E8D7

    oklch(93.6% 0.026 76.8)

  3. Step 200

    200

    #ECD6B5

    oklch(88.6% 0.05 78)

  4. Step 300

    300

    #E1BA7E

    oklch(81% 0.089 77.7)

  5. Step 400

    400 (this color)

    #CA8D04

    oklch(68.6% 0.142 77.8)

  6. Step 500

    500

    #B57D00

    oklch(63.1% 0.132 77.3)

  7. Step 600

    600

    #986900

    oklch(55.6% 0.116 77.9)

  8. Step 700

    700

    #805800

    oklch(49.1% 0.102 78.1)

  9. Step 800

    800

    #694800

    oklch(42.7% 0.089 78.7)

  10. Step 900

    900

    #583B00

    oklch(37.6% 0.078 77.7)

  11. Step 950

    950

    #352200

    oklch(26.9% 0.056 77.8)

Export this scale for Tailwind in the Tailwind colors tool

#CA8D04 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)#A490000.063
Deuteranopia (no green cones)#B29F110.057
Tritanopia (no blue cones)#DD7C780.122
Achromatopsia (no color)#9898980.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA8D04

    #CA8D04

    oklch(68.6% 0.142 77.8)

  • #5F9BF1

    #5F9BF1

    oklch(68.7% 0.142 257.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA8D04

    #CA8D04

    oklch(68.6% 0.142 77.8)

  • #E07C44

    #E07C44

    oklch(68.7% 0.143 48.1)

  • #A4A017

    #A4A017

    oklch(68.7% 0.143 107.8)

Open the analogous palette in the generator

Split complementary

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

  • #CA8D04

    #CA8D04

    oklch(68.6% 0.142 77.8)

  • #00A9DA

    #00A9DA

    oklch(68.6% 0.133 227.6)

  • #968AED

    #968AED

    oklch(68.6% 0.143 287.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA8D04

    #CA8D04

    oklch(68.6% 0.142 77.8)

  • #00B0B4

    #00B0B4

    oklch(68.7% 0.117 197.7)

  • #BE7CD3

    #BE7CD3

    oklch(68.6% 0.142 317.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA8D04

    #CA8D04

    oklch(68.6% 0.142 77.8)

  • #00B589

    #00B589

    oklch(68.6% 0.14 167.7)

  • #5F9BF1

    #5F9BF1

    oklch(68.7% 0.142 257.5)

  • #D973AA

    #D973AA

    oklch(68.7% 0.142 347.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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