WordGPT

#666600 color

#666600 is a dark yellow colour. It is rgb(102, 102, 0) in RGB and hsl(60, 100%, 20%) in HSL. Text in white reads better on it: the contrast is 6.06:1 against white and 3.47:1 against black.

#666600
#666600: #666600
Complementary#666600#000066Analogous#663300#666600#336600Triadic#666600#006666#660066Tetradic (square)#666600#006633#000066#660033Split complementary#666600#003366#330066
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
11110022220033330044440055550066660080802b999955b3b380ccccaae6e6d5
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{#666600}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{66}_{16}=102,\ 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=60∘,S=100%,L=20%H=60^\circ,\quad S=100\%,\quad L=20\%
  3. 3

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

    60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#000066}
  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=6.06:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.06:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#666600} = \mathrm{rgb}(102, 102, 0) \]
\[ \mathrm{#666600}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{00}_{16}=0 \]
\[ H=60^\circ,\quad S=100\%,\quad L=20\% \]
\[ 60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#000066} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.06:1\ \text{(on white)} \]

#666600 in every colour format

FormatValue
HEX#666600
RGBrgb(102, 102, 0)
RGB (percent)rgb(40.0%, 40.0%, 0.0%)
HSLhsl(60, 100%, 20%)
HSV / HSBhsv(60, 100%, 40%)
CMYKcmyk(0%, 0%, 100%, 60%)
Decimal6710784
Descriptiondark yellow

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text6.06:1passpassfailpass
Black text3.47:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#111100 #222200 #333300 #444400 #555500
This colour#666600
Tints (mixed with white)#80802B #999955 #B3B380 #CCCCAA #E6E6D5

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#6F61007
Deuteranopia#70640D7
Tritanopia#6E5F5644
Grayscale#626262-

Nearest named colours

NameHex
Olive#808000
Dark olive green#556B2F
Olive drab#6B8E23
Dark goldenrod#B8860B

Questions

What is the RGB value of #666600?

rgb(102, 102, 0): red 102, green 102, blue 0.

What is the HSL value of #666600?

hsl(60, 100%, 20%): a hue of 60°, 100% saturation and 20% lightness.

What is the complementary colour of #666600?

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

Should I use white or black text on #666600?

White. White gives 6.06:1 and black 3.47:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #666600?

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

What is the closest named colour to #666600?

Olive (#808000).

Matching colours

A little darker, a little lighter

Make a palette

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