Luminance
0.770
Category
Yellow
Type
Light
Best On
Color Codes
All color formats for your project
HEX
#F0E68CF0E68CRGB
rgb(240, 230, 140)R:240 G:230 B:140HSL
hsl(54, 77%, 75%)H:54° S:77% L:75%HSV / HSB
hsv(54, 42%, 94%)H:54° S:42% V:94%CMYK
cmyk(0%, 4%, 42%, 6%)C:0 M:4 Y:42 K:6LAB
lab(90, -9, 45)L:90 a:-9 b:45OKLCH
oklch(91.3% 0.112 102.8)L:91.3% C:0.112 H:102.8°Code Formats
color: #F0E68C;UIColor(red: 0.941, green: 0.902, blue: 0.549, alpha: 1.0)Color(0xFFF0E68C)Color(0xFFF0E68C)#FFF0E68CContrast Analysis
WCAG compliance with grayscale colors
On White
1.28:1
On Black
16.40:1
Grayscale Contrast
0%
16.4
AAA10%
13.6
AAA20%
9.9
AAA30%
6.6
AA40%
4.5
AA-large50%
3.1
AA-large60%
2.2
Fail70%
1.6
Fail80%
1.3
Fail90%
1.0
Fail100%
1.3
FailBest Grayscale Contrast
#000000 with ratio 16.40:1
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°linear-gradient(90deg, #F6F0BB 0%, #E5D334 100%)linear-gradient(90deg, oklch(94.7% 0.069 102.2) 0%, oklch(85.6% 0.166 102.5) 100%)Vibrant
135°linear-gradient(135deg, #F9EB6C 0%, #FFED4D 100%)linear-gradient(135deg, oklch(92.7% 0.148 103.0) 0%, oklch(93.4% 0.172 102.8) 100%)Complementary
90°linear-gradient(90deg, #F0E68C 0%, #8E98F0 100%)linear-gradient(90deg, oklch(91.3% 0.112 102.8) 0%, oklch(70.8% 0.129 277.6) 100%)Analogous
90°linear-gradient(90deg, #F0B58E 0%, #F0E68C 50%, #C9F08E 100%)linear-gradient(90deg, oklch(81.8% 0.086 54.6) 0%, oklch(91.3% 0.112 102.8) 50%, oklch(90.5% 0.131 126.6) 100%)Sunset
90°linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)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%)Ocean
135°linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)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%)Dark Mode
180°linear-gradient(180deg, #E8D84A 0%, #2D2A10 100%)linear-gradient(180deg, oklch(87.0% 0.158 102.8) 0%, oklch(28.1% 0.042 102.7) 100%)Radial Glow
Radialradial-gradient(circle, #F0E78E 0%, #E8D84A 100%)radial-gradient(circle, oklch(91.6% 0.111 103.3) 0%, oklch(87.0% 0.158 102.8) 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.