#FFCC00

Gold

#FFCC00Gold

Luminance

0.644

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FFCC00
No #
FFCC00

RGB

RGB
rgb(255, 204, 0)
Values
R:255 G:204 B:0

HSL

HSL
hsl(48, 100%, 50%)
Values
H:48° S:100% L:50%

HSV / HSB

HSV
hsv(48, 100%, 100%)
Values
H:48° S:100% V:100%

CMYK

CMYK
cmyk(0%, 20%, 100%, 0%)
Values
C:0 M:20 Y:100 K:0

LAB

LAB
lab(84, 4, 85)
Values
L:84 a:4 b:85

OKLCH

OKLCH
oklch(86.5% 0.177 90.4)
Values
L:86.5% C:0.177 H:90.4°

Code Formats

CSS
color: #FFCC00;
Swift
UIColor(red: 1.000, green: 0.800, blue: 0.000, alpha: 1.0)
Kotlin
Color(0xFFFFCC00)
Flutter
Color(0xFFFFCC00)
Android
#FFFFCC00

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.51:1

Fail

On Black

13.89:1

AAA

Grayscale Contrast

Aa

0%

13.9

AAA
Aa

10%

11.5

AAA
Aa

20%

8.4

AAA
Aa

30%

5.6

AA
Aa

40%

3.8

AA-large
Aa

50%

2.6

Fail
Aa

60%

1.9

Fail
Aa

70%

1.4

Fail
Aa

80%

1.1

Fail
Aa

90%

1.2

Fail
Aa

100%

1.5

Fail

Best Grayscale Contrast

#000000 with ratio 13.89:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #FFE066 0%, #997A00 100%)
OKLCH
linear-gradient(90deg, oklch(91.0% 0.144 95.1) 0%, oklch(59.2% 0.121 90.9) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFD633 0%, #CCA300 100%)
OKLCH
linear-gradient(135deg, oklch(88.6% 0.170 93.6) 0%, oklch(73.2% 0.150 90.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FFCC00 0%, #0033FF 100%)
OKLCH
linear-gradient(90deg, oklch(86.5% 0.177 90.4) 0%, oklch(48.5% 0.291 264.1) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FF4D00 0%, #FFCC00 50%, #B2FF00 100%)
OKLCH
linear-gradient(90deg, oklch(66.8% 0.224 37.0) 0%, oklch(86.5% 0.177 90.4) 50%, oklch(91.5% 0.241 128.4) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #FFCC00 0%, #342B09 100%)
OKLCH
linear-gradient(180deg, oklch(86.5% 0.177 90.4) 0%, oklch(29.1% 0.051 94.0) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FFDB4D 0%, #B38F00 100%)
OKLCH
radial-gradient(circle, oklch(89.8% 0.159 94.5) 0%, oklch(66.5% 0.136 90.8) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette