#CCAA55 color
#CCAA55 is a muted orange colour. It is rgb(204, 170, 85) in RGB and hsl(43, 54%, 57%) in HSL. Text in black reads better on it: the contrast is 9.45:1 against black and 2.22:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#CCAA55}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{55}_{16}=85 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
43^\circ + 180^\circ = 223^\circ ;\Rightarrow; \mathrm{#5577CC} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#CCAA55} = \mathrm{rgb}(204, 170, 85) \]
\[ \mathrm{#CCAA55}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{55}_{16}=85 \]
\[ H=43^\circ,\quad S=54\%,\quad L=57\% \]
\[ 43^\circ + 180^\circ = 223^\circ ;\Rightarrow; \mathrm{#5577CC} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.22:1\ \text{(on white)} \]#CCAA55 in every colour format
| Format | Value |
|---|---|
| HEX | #CCAA55 |
| RGB | rgb(204, 170, 85) |
| RGB (percent) | rgb(80.0%, 66.7%, 33.3%) |
| HSL | hsl(43, 54%, 57%) |
| HSV / HSB | hsv(43, 58%, 80%) |
| CMYK | cmyk(0%, 17%, 58%, 20%) |
| Decimal | 13412949 |
| Description | muted orange |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 2.22:1 | fail | fail | fail | fail |
| Black text | 9.45:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #221C0E #44391C #66552B #887139 #AA8E47 |
| This colour | #CCAA55 |
| Tints (mixed with white) | #D5B871 #DDC68E #E6D5AA #EEE3C6 #F7F1E3 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #BBA94D | 7 |
| Deuteranopia | #C3B258 | 8 |
| Tritanopia | #DB9E97 | 40 |
| Grayscale | #AEAEAE | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark khaki | #BDB76B |
| Burlywood | #DEB887 |
| Dark goldenrod | #B8860B |
| Sandy brown | #F4A460 |
Questions
What is the RGB value of #CCAA55?
rgb(204, 170, 85): red 204, green 170, blue 85.
What is the HSL value of #CCAA55?
hsl(43, 54%, 57%): a hue of 43°, 54% saturation and 57% lightness.
What is the complementary colour of #CCAA55?
#5577CC, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #3355AA.
Should I use white or black text on #CCAA55?
Black. White gives 2.22:1 and black 9.45:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #CCAA55?
cmyk(0%, 17%, 58%, 20%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #CCAA55?
Dark khaki (#BDB76B).