#CA840B

Closest named color: Peru (#CD853F). oklch(67% 0.141 71.5), rgb(202, 132, 11).

Aa

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

About this color

#CA840B is a medium-light, vivid orange. In OKLCH its lightness is 67%, its chroma 0.141 and its hue 72°. Its hue sits on the warm side of the wheel. The nearest named color is Peru (#CD853F), ΔE 0.030 away. Black text reads best on it, at 6.81:1.

Hue familyOranges
Lightnessmedium-light (67%)
Chromavivid (0.141)
Temperaturewarm
Nearest namePeru (#CD853F)
Black text6.81:1
White text3.08:1

Values

HEX#CA840B
RGBrgb(202, 132, 11)
HSLhsl(38, 90%, 42%)
OKLCHoklch(67% 0.141 71.5)

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 #CA840B 3.08:1 AA large text Lc -62.8 Content text, not long reading
Black text on #CA840B 6.81:1 AA Lc 46.7 Large or bold text, headings
#CA840B text on white 3.08:1 AA large text Lc 57.4 Large or bold text, headings
#CA840B text on black 6.81:1 AA Lc -44.4 Non-text elements, placeholder text

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

    #EED4B6

    oklch(88.4% 0.049 71.1)

  4. Step 300

    300

    #E5B880

    oklch(81% 0.089 72.1)

  5. Step 400

    400 (this color)

    #CA840B

    oklch(67% 0.141 71.5)

  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

#CA840B 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)#9C89000.078
Deuteranopia (no green cones)#AC99120.070
Tritanopia (no blue cones)#DD72700.115
Achromatopsia (no color)#9393930.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA840B

    #CA840B

    oklch(67% 0.141 71.5)

  • #4C99E9

    #4C99E9

    oklch(67% 0.142 251.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA840B

    #CA840B

    oklch(67% 0.141 71.5)

  • #DC744B

    #DC744B

    oklch(67% 0.141 41.6)

  • #A79700

    #A79700

    oklch(67% 0.14 101.9)

Open the analogous palette in the generator

Split complementary

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

  • #CA840B

    #CA840B

    oklch(67% 0.141 71.5)

  • #00A5CB

    #00A5CB

    oklch(66.9% 0.124 222)

  • #8888E9

    #8888E9

    oklch(66.9% 0.142 281.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA840B

    #CA840B

    oklch(67% 0.141 71.5)

  • #00ABA7

    #00ABA7

    oklch(67% 0.115 191.8)

  • #B17AD4

    #B17AD4

    oklch(67% 0.141 311.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA840B

    #CA840B

    oklch(67% 0.141 71.5)

  • #1DAF79

    #1DAF79

    oklch(66.9% 0.141 161.6)

  • #4C99E9

    #4C99E9

    oklch(67% 0.142 251.5)

  • #CE6FAE

    #CE6FAE

    oklch(66.9% 0.142 341.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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