#CC871A

Closest named color: Peru (#CD853F). oklch(67.8% 0.139 71.4), rgb(204, 135, 26).

Aa

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

About this color

#CC871A is a medium-light, moderately saturated orange. In OKLCH its lightness is 68%, its chroma 0.139 and its hue 71°. Its hue sits on the warm side of the wheel. The nearest named color is Peru (#CD853F), ΔE 0.026 away. Black text reads best on it, at 7.04:1.

Hue familyOranges
Lightnessmedium-light (68%)
Chromamoderately saturated (0.139)
Temperaturewarm
Nearest namePeru (#CD853F)
Black text7.04:1
White text2.97:1

Values

HEX#CC871A
RGBrgb(204, 135, 26)
HSLhsl(37, 77%, 45%)
OKLCHoklch(67.8% 0.139 71.4)

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 #CC871A 2.97:1 Fails Lc -61.4 Content text, not long reading
Black text on #CC871A 7.04:1 AAA Lc 48.0 Large or bold text, headings
#CC871A text on white 2.97:1 Fails Lc 56.1 Large or bold text, headings
#CC871A text on black 7.04:1 AAA Lc -45.7 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

    #FBF4ED

    oklch(97.1% 0.012 67.7)

  2. Step 100

    100

    #F5E8D8

    oklch(93.7% 0.026 73.2)

  3. Step 200

    200

    #EED5B7

    oklch(88.6% 0.049 72.2)

  4. Step 300

    300

    #E4B882

    oklch(80.9% 0.087 71.8)

  5. Step 400

    400 (this color)

    #CC871A

    oklch(67.8% 0.139 71.4)

  6. Step 500

    500

    #BB7900

    oklch(63% 0.135 71.5)

  7. Step 600

    600

    #9E6500

    oklch(55.5% 0.12 71.1)

  8. Step 700

    700

    #855500

    oklch(49.1% 0.105 71.8)

  9. Step 800

    800

    #6E4500

    oklch(42.8% 0.092 71.2)

  10. Step 900

    900

    #5C3900

    oklch(37.7% 0.081 71.3)

  11. Step 950

    950

    #382100

    oklch(27.1% 0.058 71.5)

Export this scale for Tailwind in the Tailwind colors tool

#CC871A 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)#9F8C000.078
Deuteranopia (no green cones)#AF9C1E0.068
Tritanopia (no blue cones)#DF76740.113
Achromatopsia (no color)#9595950.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC871A

    #CC871A

    oklch(67.8% 0.139 71.4)

  • #509BEA

    #509BEA

    oklch(67.7% 0.139 251.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC871A

    #CC871A

    oklch(67.8% 0.139 71.4)

  • #DE774F

    #DE774F

    oklch(67.8% 0.14 41.4)

  • #AA990E

    #AA990E

    oklch(67.7% 0.139 101.2)

Open the analogous palette in the generator

Split complementary

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

  • #CC871A

    #CC871A

    oklch(67.8% 0.139 71.4)

  • #00A8CE

    #00A8CE

    oklch(67.8% 0.125 221.6)

  • #8A8BEB

    #8A8BEB

    oklch(67.7% 0.14 281.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC871A

    #CC871A

    oklch(67.8% 0.139 71.4)

  • #00AEA9

    #00AEA9

    oklch(67.8% 0.117 191.1)

  • #B47DD6

    #B47DD6

    oklch(67.9% 0.139 311.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC871A

    #CC871A

    oklch(67.8% 0.139 71.4)

  • #29B17C

    #29B17C

    oklch(67.7% 0.138 161.6)

  • #509BEA

    #509BEA

    oklch(67.7% 0.139 251.6)

  • #D073B0

    #D073B0

    oklch(67.8% 0.138 341.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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