#FFC302

#ffc302 ≈ Mikado Yellow

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#ffc302 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 76.47% green and 0.78% blue; printed in CMYK it uses 0% cyan, 23.53% magenta, 99.22% yellow and 0% black. Its hue angle is 45.77°, with 100% saturation and 50.39% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and call-to-action buttons. Black text on this color reaches a contrast ratio of 13.06:1 (WCAG AAA). The closest named color is Mikado Yellow (#ffc40c), ΔE 0.32.

Description generated from the measured properties of this color.

Conversions of #ffc302 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.6029

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #e2c8a2 ≈ 0.001% of males
Protanopia #ddc300 ≈ 1.01% of males
Deuteranopia #ecd21d ≈ 1.27% of males
Tritanopia #ffafa6 ≈ 0.0001% of males
Protanomaly #ecc300 ≈ 1.08% of males
Deuteranomaly #f4cc15 ≈ 4.63% of males
Tritanomaly #ffb784 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffc302 {
  color: #ffc302;
}
Background
.bg-ffc302 {
  background-color: #ffc302;
  color: #000000;
}
Border
.border-ffc302 {
  border: 2px solid #ffc302;
}
CSS variables
:root {
  --color-primary: #ffc302;
  --color-primary-rgb: 255 195 2;
  --color-primary-hsl: 46 100% 50%;
}
Gradient
.gradient-ffc302 {
  background: linear-gradient(135deg, #ffc302, #bdff02);
}
Colored shadow
.shadow-ffc302 {
  box-shadow: 0 8px 24px rgb(255 195 2 / 0.35);
}

Mikado Yellow
#ffc302  rgb(255, 195, 2)  hsl(46, 100%, 50%)  Mikado Yellow
#023eff  rgb(2, 62, 255)  hsl(226, 100%, 50%)  Han Purple
#02ffc3  rgb(2, 255, 195)  hsl(166, 100%, 50%)  Aquamarine
#c302ff  rgb(195, 2, 255)  hsl(286, 100%, 50%)  Electric Purple