#CC871F

Closest named color: Peru (#CD853F). oklch(67.8% 0.137 70.8), rgb(204, 135, 31).

Aa

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

About this color

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

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

Values

HEX#CC871F
RGBrgb(204, 135, 31)
HSLhsl(36, 74%, 46%)
OKLCHoklch(67.8% 0.137 70.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 #CC871F 2.97:1 Fails Lc -61.4 Content text, not long reading
Black text on #CC871F 7.05:1 AAA Lc 48.0 Large or bold text, headings
#CC871F text on white 2.97:1 Fails Lc 56.1 Large or bold text, headings
#CC871F text on black 7.05: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

    #F5E7D8

    oklch(93.5% 0.025 69.4)

  3. Step 200

    200

    #EED5B8

    oklch(88.6% 0.048 71.3)

  4. Step 300

    300

    #E4B883

    oklch(81% 0.086 71.3)

  5. Step 400

    400 (this color)

    #CC871F

    oklch(67.8% 0.137 70.8)

  6. Step 500

    500

    #BC7900

    oklch(63.1% 0.136 71.1)

  7. Step 600

    600

    #9F6500

    oklch(55.7% 0.12 70.6)

  8. Step 700

    700

    #865400

    oklch(49.1% 0.106 70.2)

  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

#CC871F 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)#9E8C010.080
Deuteranopia (no green cones)#AF9C230.068
Tritanopia (no blue cones)#DF76740.111
Achromatopsia (no color)#9595950.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC871F

    #CC871F

    oklch(67.8% 0.137 70.8)

  • #509CE9

    #509CE9

    oklch(67.9% 0.137 250.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC871F

    #CC871F

    oklch(67.8% 0.137 70.8)

  • #DD7852

    #DD7852

    oklch(67.9% 0.136 41)

  • #AB9913

    #AB9913

    oklch(67.8% 0.137 100.6)

Open the analogous palette in the generator

Split complementary

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

  • #CC871F

    #CC871F

    oklch(67.8% 0.137 70.8)

  • #00A8CD

    #00A8CD

    oklch(67.7% 0.124 221)

  • #898CEA

    #898CEA

    oklch(67.8% 0.137 280.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC871F

    #CC871F

    oklch(67.8% 0.137 70.8)

  • #00AEA9

    #00AEA9

    oklch(67.8% 0.117 191.1)

  • #B37ED6

    #B37ED6

    oklch(67.9% 0.137 310.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC871F

    #CC871F

    oklch(67.8% 0.137 70.8)

  • #2EB17B

    #2EB17B

    oklch(67.8% 0.137 160.8)

  • #509CE9

    #509CE9

    oklch(67.9% 0.137 250.8)

  • #CF73B1

    #CF73B1

    oklch(67.7% 0.138 340.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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