#FFD40C

#ffd40c ≈ Cyber Yellow

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

#ffd40c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 83.14% green and 4.71% blue; printed in CMYK it uses 0% cyan, 16.86% magenta, 95.29% yellow and 0% black. Its hue angle is 49.38°, with 100% saturation and 52.35% 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 14.67:1 (WCAG AAA). The closest named color is Cyber Yellow (#ffd300), ΔE 0.34.

Description generated from the measured properties of this color.

Conversions of #ffd40c 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.6837

Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d8d8d8 ≈ 0.003% of males
Achromatomaly #e8d6ac ≈ 0.001% of males
Protanopia #edd000 ≈ 1.01% of males
Deuteranopia #f7dd27 ≈ 1.27% of males
Tritanopia #ffc1b5 ≈ 0.0001% of males
Protanomaly #f4d200 ≈ 1.08% of males
Deuteranomaly #fad91f ≈ 4.63% of males
Tritanomaly #ffc990 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Cyber Yellow
#ffd40c  rgb(255, 212, 12)  hsl(49, 100%, 52%)  Cyber Yellow
#0c37ff  rgb(12, 55, 255)  hsl(229, 100%, 52%)  Han Purple
#0cffd4  rgb(12, 255, 212)  hsl(169, 100%, 52%)  Aquamarine
#d40cff  rgb(212, 12, 255)  hsl(289, 100%, 52%)  Electric Purple