#FFC940

Gold

#FFC940Gold

Luminance

0.634

Category

Orange

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FFC940
No #
FFC940

RGB

RGB
rgb(255, 201, 64)
Values
R:255 G:201 B:64

HSL

HSL
hsl(43, 100%, 63%)
Values
H:43° S:100% L:63%

HSV / HSB

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

CMYK

CMYK
cmyk(0%, 21%, 75%, 0%)
Values
C:0 M:21 Y:75 K:0

LAB

LAB
lab(84, 7, 71)
Values
L:84 a:7 b:71

OKLCH

OKLCH
oklch(86.2% 0.157 86.1)
Values
L:86.2% C:0.157 H:86.1°

Code Formats

CSS
color: #FFC940;
Swift
UIColor(red: 1.000, green: 0.788, blue: 0.251, alpha: 1.0)
Kotlin
Color(0xFFFFC940)
Flutter
Color(0xFFFFC940)
Android
#FFFFC940

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.54:1

Fail

On Black

13.68:1

AAA

Grayscale Contrast

Aa

0%

13.7

AAA
Aa

10%

11.3

AAA
Aa

20%

8.2

AAA
Aa

30%

5.5

AA
Aa

40%

3.7

AA-large
Aa

50%

2.6

Fail
Aa

60%

1.9

Fail
Aa

70%

1.4

Fail
Aa

80%

1.0

Fail
Aa

90%

1.2

Fail
Aa

100%

1.5

Fail

Best Grayscale Contrast

#000000 with ratio 13.68: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, #FFE6A8 0%, #DB9D00 100%)
OKLCH
linear-gradient(90deg, oklch(93.1% 0.083 88.6) 0%, oklch(73.6% 0.152 80.2) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFD466 0%, #FFBB0F 100%)
OKLCH
linear-gradient(135deg, oklch(88.6% 0.136 88.0) 0%, oklch(83.3% 0.170 81.7) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FFC940 0%, #4278FF 100%)
OKLCH
linear-gradient(90deg, oklch(86.2% 0.157 86.1) 0%, oklch(61.2% 0.209 264.5) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FF6B42 0%, #FFC940 50%, #D6FF42 100%)
OKLCH
linear-gradient(90deg, oklch(70.6% 0.189 36.2) 0%, oklch(86.2% 0.157 86.1) 50%, oklch(93.9% 0.207 121.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, #FFC533 0%, #342809 100%)
OKLCH
linear-gradient(180deg, oklch(85.3% 0.162 85.0) 0%, oklch(28.4% 0.049 87.3) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FFDB80 0%, #F5AF00 100%)
OKLCH
radial-gradient(circle, oklch(90.3% 0.117 88.4) 0%, oklch(79.9% 0.166 79.7) 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