WordGPT

#CC9900 color

#CC9900 is a vivid yellow colour. It is rgb(204, 153, 0) in RGB and hsl(45, 100%, 40%) in HSL. Text in black reads better on it: the contrast is 8.12:1 against black and 2.58:1 against white.

#CC9900
#CC9900: #CC9900
Complementary#CC9900#0033CCAnalogous#CC3300#CC9900#99CC00Triadic#CC9900#00CC99#9900CCTetradic (square)#CC9900#00CC33#0033CC#CC0099Split complementary#CC9900#0099CC#3300CC
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
221900443300664d00886600aa8000cc9900d5aa2bddbb55e6cc80eeddaaf7eed5
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#CC9900}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{99}_{16}=153,\ B=\mathrm{00}_{16}=0
  2. 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.

    H=45∘,S=100%,L=40%H=45^\circ,\quad S=100\%,\quad L=40\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    45^\circ + 180^\circ = 225^\circ ;\Rightarrow; \mathrm{#0033CC}
  4. 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).

    contrast=L1+0.05L2+0.05=2.58:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.58:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#CC9900} = \mathrm{rgb}(204, 153, 0) \]
\[ \mathrm{#CC9900}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{99}_{16}=153,\ B=\mathrm{00}_{16}=0 \]
\[ H=45^\circ,\quad S=100\%,\quad L=40\% \]
\[ 45^\circ + 180^\circ = 225^\circ ;\Rightarrow; \mathrm{#0033CC} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.58:1\ \text{(on white)} \]

#CC9900 in every colour format

FormatValue
HEX#CC9900
RGBrgb(204, 153, 0)
RGB (percent)rgb(80.0%, 60.0%, 0.0%)
HSLhsl(45, 100%, 40%)
HSV / HSBhsv(45, 100%, 80%)
CMYKcmyk(0%, 25%, 100%, 20%)
Decimal13408512
Descriptionvivid yellow

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text2.58:1failfailfailfail
Black text8.12:1passpasspasspass

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#221900 #443300 #664D00 #886600 #AA8000
This colour#CC9900
Tints (mixed with white)#D5AA2B #DDBB55 #E6CC80 #EEDDAA #F7EED5

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#AF990014
Deuteranopia#BBA61315
Tritanopia#DE898258
Grayscale#A1A1A1-

Nearest named colours

NameHex
Goldenrod#DAA520
Dark goldenrod#B8860B
Orange#FFA500
Peru#CD853F

Questions

What is the RGB value of #CC9900?

rgb(204, 153, 0): red 204, green 153, blue 0.

What is the HSL value of #CC9900?

hsl(45, 100%, 40%): a hue of 45°, 100% saturation and 40% lightness.

What is the complementary colour of #CC9900?

#0033CC, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #3366FF.

Should I use white or black text on #CC9900?

Black. White gives 2.58:1 and black 8.12:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #CC9900?

cmyk(0%, 25%, 100%, 20%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #CC9900?

Goldenrod (#DAA520).

Matching colours

A little darker, a little lighter

Make a palette

    #CC9900 color: RGB, HSL, CMYK, shades and matching palettes | WordGPT