WordGPT

#CCDD22 color

#CCDD22 is a yellow colour. It is rgb(204, 221, 34) in RGB and hsl(65, 73%, 50%) in HSL. Text in black reads better on it: the contrast is 13.93:1 against black and 1.51:1 against white.

#CCDD22
#CCDD22: #CCDD22
Complementary#CCDD22#3322DDAnalogous#DD9022#CCDD22#6FDD22Triadic#CCDD22#22CCDD#DD22CCTetradic (square)#CCDD22#22DD91#3322DD#DD226ESplit complementary#CCDD22#226EDD#9122DD
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
222506444a0b666f11889317aab81cccdd22d5e347dde86ce6ee91eef4b5f7f9da
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{#CCDD22}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{22}_{16}=34
  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=65∘,S=73%,L=50%H=65^\circ,\quad S=73\%,\quad L=50\%
  3. 3

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

    65^\circ + 180^\circ = 245^\circ ;\Rightarrow; \mathrm{#3322DD}
  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=1.51:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.51:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#CCDD22} = \mathrm{rgb}(204, 221, 34) \]
\[ \mathrm{#CCDD22}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{22}_{16}=34 \]
\[ H=65^\circ,\quad S=73\%,\quad L=50\% \]
\[ 65^\circ + 180^\circ = 245^\circ ;\Rightarrow; \mathrm{#3322DD} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.51:1\ \text{(on white)} \]

#CCDD22 in every colour format

FormatValue
HEX#CCDD22
RGBrgb(204, 221, 34)
RGB (percent)rgb(80.0%, 86.7%, 13.3%)
HSLhsl(65, 73%, 50%)
HSV / HSBhsv(65, 85%, 87%)
CMYKcmyk(8%, 0%, 85%, 13%)
Decimal13425954
Descriptionyellow

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text1.51:1failfailfailfail
Black text13.93:1passpasspasspass

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#222506 #444A0B #666F11 #889317 #AAB81C
This colour#CCDD22
Tints (mixed with white)#D5E347 #DDE86C #E6EE91 #EEF4B5 #F7F9DA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#EDD10020
Deuteranopia#ECD43819
Tritanopia#DAD0BD73
Grayscale#D2D2D2-

Nearest named colours

NameHex
Yellow green#9ACD32
Yellow#FFFF00
Gold#FFD700
Green yellow#ADFF2F

Questions

What is the RGB value of #CCDD22?

rgb(204, 221, 34): red 204, green 221, blue 34.

What is the HSL value of #CCDD22?

hsl(65, 73%, 50%): a hue of 65°, 73% saturation and 50% lightness.

What is the complementary colour of #CCDD22?

#3322DD, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #3322DD.

Should I use white or black text on #CCDD22?

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

What is the CMYK value of #CCDD22?

cmyk(8%, 0%, 85%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #CCDD22?

Yellow green (#9ACD32).

Matching colours

A little darker, a little lighter

Make a palette

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