#FFD700

Gold

#FFD700Gold

Luminance

0.699

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FFD700
No #
FFD700

RGB

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

HSL

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

HSV / HSB

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

CMYK

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

LAB

LAB
lab(87, -2, 87)
Values
L:87 a:-2 b:87

OKLCH

OKLCH
oklch(88.7% 0.182 95.3)
Values
L:88.7% C:0.182 H:95.3°

Code Formats

CSS
color: #FFD700;
Swift
UIColor(red: 1.000, green: 0.843, blue: 0.000, alpha: 1.0)
Kotlin
Color(0xFFFFD700)
Flutter
Color(0xFFFFD700)
Android
#FFFFD700

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.40:1

Fail

On Black

14.97:1

AAA

Grayscale Contrast

Aa

0%

15.0

AAA
Aa

10%

12.4

AAA
Aa

20%

9.0

AAA
Aa

30%

6.0

AA
Aa

40%

4.1

AA-large
Aa

50%

2.9

Fail
Aa

60%

2.0

Fail
Aa

70%

1.5

Fail
Aa

80%

1.1

Fail
Aa

90%

1.1

Fail
Aa

100%

1.4

Fail

Best Grayscale Contrast

#000000 with ratio 14.97: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, #FFE866 0%, #998200 100%)
OKLCH
linear-gradient(90deg, oklch(92.6% 0.150 99.3) 0%, oklch(61.0% 0.126 96.6) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFE033 0%, #CCAD00 100%)
OKLCH
linear-gradient(135deg, oklch(90.6% 0.176 98.2) 0%, oklch(75.2% 0.155 96.1) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FFD700 0%, #0026FF 100%)
OKLCH
linear-gradient(90deg, oklch(88.7% 0.182 95.3) 0%, oklch(47.2% 0.300 264.2) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FF5900 0%, #FFD700 50%, #A6FF00 100%)
OKLCH
linear-gradient(90deg, oklch(68.0% 0.214 39.8) 0%, oklch(88.7% 0.182 95.3) 50%, oklch(90.8% 0.246 130.5) 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, #FFD900 0%, #342E09 100%)
OKLCH
linear-gradient(180deg, oklch(89.1% 0.183 96.2) 0%, oklch(29.9% 0.054 99.9) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FFE44D 0%, #B39800 100%)
OKLCH
radial-gradient(circle, oklch(91.5% 0.165 98.9) 0%, oklch(68.4% 0.141 96.3) 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