100% free no uploads no sign-up

ochre color code

The hex code for ochre is #CC7722, which is rgb(204, 119, 34) in RGB and cmyk(0%, 42%, 83%, 20%) in CMYK. It's a medium, rich orange. There is no official standard for ochre; #CC7722 is the value most colour references use.

#CC7722ochre
White text: 3.37:1 large text onlyBlack text: 6.22:1 ✓ AANearest name: ochre

Move the sliders to find a lighter, darker or softer ochre; the codes update as you go.

Ochre colour codes

HEX#CC7722
RGBrgb(204, 119, 34)
HSLhsl(30, 71%, 47%)
HSV / HSBhsv(30, 83%, 80%)
CMYKcmyk(0%, 42%, 83%, 20%)
Decimal13399842

About ochre

Ochre sits at a hue of 30° on the colour wheel, with 71% saturation and 47% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.

A natural earth pigment used since prehistoric cave paintings.

For text, black reads better on ochre. Ochre as text on a white background has a contrast ratio of 3.37:1, which fails the WCAG AA rule for body text (4.5:1) and passes the 3:1 rule for large text. On black it is 6.22:1, which passes AA for body text.

Tints and shades of ochre

Tints mix ochre with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#FAF1E9#F5E4D3#F0D6BD#EBC9A7#E6BB91#E0AD7A#DBA064#D6924E#D18538
ochre #CC7722
#B86B1F#A35F1B#8F5318#7A4714#663C11#52300E#3D240A#291807#140C03

Colours that go with ochre

Complementary — opposite on the colour wheel: maximum contrast

#CC7722#2277CC

Analogous — neighbours 30° either side: calm and natural

#CC2222#CC7722#CCCC22

Triadic — three hues 120° apart: lively but balanced

#CC7722#22CC77#7722CC

Split complementary — the two neighbours of the complement: contrast with less tension

#CC7722#22CCCC#2222CC

Tetradic — four hues 90° apart: rich, use one as the main colour

#CC7722#22CC22#2277CC#CC22CC

Ochre text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
ochre on white3.37:1failpassfail
ochre on black6.22:1passpassfail

Check ochre against any other colour in the contrast checker.

How ochre looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #CC7722protanopia #918011deuteranopia #A59322tritanopia #DF6467

Use ochre in code

.ochre {
  color: #cc7722;
  background-color: #cc7722;
  border-color: rgb(204, 119, 34);
}

Frequently asked questions

What is the hex code for ochre?

#CC7722 is the most widely used value for ochre. There's no official standard, so paint, fabric and brand swatches called ochre can differ slightly; use the hex code to match it exactly on screen.

What is ochre in RGB, HSL and CMYK?

RGB: rgb(204, 119, 34). HSL: hsl(30, 71%, 47%). CMYK: cmyk(0%, 42%, 83%, 20%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with ochre?

Its complementary colour is #2277CC (close to steel blue), which gives the strongest contrast. For a calmer look, use the analogous colours #CC2222 and #CCCC22, or the triadic pair #22CC77 and #7722CC. Tints and shades of ochre itself always work together.

Is ochre a warm or cool colour?

Ochre has a hue of 30°, which makes it warm.

Should I use black or white text on ochre?

Black. Black text on ochre has a contrast ratio of 6.22:1 and white text has 3.37:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

Is ochre a CSS colour name?

No. Ochre isn't one of the named colours built into CSS, so write it as a hex code: color: #cc7722;

Colours similar to ochre