Recognised as Colour
#CCAF02
- #CCAF02
- Yellow
- Dark
- Nearest: Goldenrod
#CCAF02 is a yellow with RGB values 204, 175, 2 and HSL 51°, 98%, 40%. It is a dark colour, so black text on it reaches 9.7:1 contrast (AAA for normal text). The nearest named colour is Goldenrod.
Colour values
#CCAF02#CCAF02
HEX#CCAF02
RGBrgb(204, 175, 2)
RGB (0–1)0.8, 0.6863, 0.0078
RGB percentages80%, 68.6%, 0.8%
HSLhsl(51.4, 98.1%, 40.4%)
HSV / HSBhsv(51.4, 99%, 80%)
CMYK0%, 14.2%, 99%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,414,146
CSS custom property--colour: #CCAF02;
Brightness & contrast
Relative luminance0.43502WCAG 2.x, 0 is black and 1 is white
Perceived brightness174.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.7:1
Contrast with white2.16:1WCAG normal text: Fail
Contrast with black9.7:1WCAG normal text: AAA
Greyscale equivalent#A9A9A9
Inverted#3350FD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.16:1WCAG large text: Fail
Contrast with black, large text9.7:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#021FCC
Analogous#CC4A02, #84CC02
Triadic#02CCAF, #AF02CC
Split complementary#0284CC, #4A02CC
Tetradic#02CC4A, #021FCC, #CC0284
Tints, shades & saturation
Channel breakdown
R204
G175
B2
Red204 (80%)
Green175 (68.6%)
Blue2 (0.8%)
Hue51.39°
Saturation (HSL)98.06%
Lightness40.39%
Dominant channelRed
Hex per channelR CC · G AF · B 02
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page