Luminance
0.200
Category
Yellow
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#808000808000RGB
rgb(128, 128, 0)R:128 G:128 B:0HSL
hsl(60, 100%, 25%)H:60° S:100% L:25%HSV / HSB
hsv(60, 100%, 50%)H:60° S:100% V:50%CMYK
cmyk(0%, 0%, 100%, 50%)C:0 M:0 Y:100 K:50LAB
lab(52, -13, 57)L:52 a:-13 b:57OKLCH
oklch(58.1% 0.127 109.8)L:58.1% C:0.127 H:109.8°Code Formats
color: #808000;UIColor(red: 0.502, green: 0.502, blue: 0.000, alpha: 1.0)Color(0xFF808000)Color(0xFF808000)#FF808000Contrast Analysis
WCAG compliance with grayscale colors
On White
4.20:1
On Black
5.01:1
Grayscale Contrast
0%
5.0
AA10%
4.1
AA-large20%
3.0
AA-large30%
2.0
Fail40%
1.4
Fail50%
1.0
Fail60%
1.5
Fail70%
2.0
Fail80%
2.6
Fail90%
3.3
AA-large100%
4.2
AA-largeBest Grayscale Contrast
#000000 with ratio 5.01: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, #E5E600 0%, #7F8000 100%)linear-gradient(90deg, oklch(89.5% 0.195 110.1) 0%, oklch(58.0% 0.127 110.3) 100%)Vibrant
135°linear-gradient(135deg, #B2B300 0%, #CCCC00 100%)linear-gradient(135deg, oklch(74.1% 0.162 110.2) 0%, oklch(81.8% 0.178 109.8) 100%)Complementary
90°linear-gradient(90deg, #808000 0%, #000080 100%)linear-gradient(90deg, oklch(58.1% 0.127 109.8) 0%, oklch(27.1% 0.188 264.1) 100%)Analogous
90°linear-gradient(90deg, #804000 0%, #808000 50%, #408000 100%)linear-gradient(90deg, oklch(44.4% 0.109 55.5) 0%, oklch(58.1% 0.127 109.8) 50%, oklch(53.6% 0.157 135.2) 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, #7F8000 0%, #343409 100%)linear-gradient(180deg, oklch(58.0% 0.127 110.3) 0%, oklch(31.5% 0.061 109.4) 100%)Radial Glow
Radialradial-gradient(circle, #CCCC00 0%, #999900 100%)radial-gradient(circle, oklch(81.8% 0.178 109.8) 0%, oklch(66.1% 0.144 109.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.