#F8D271

#f8d271 ≈ Jasmine

  • yellow
  • Lightness: high
  • Saturation: strong
  • Warm

#f8d271 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 97.25% red, 82.35% green and 44.31% blue; printed in CMYK it uses 0% cyan, 15.32% magenta, 54.44% yellow and 2.75% black. Its hue angle is 43.11°, with 90.6% saturation and 70.78% 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.45:1 (WCAG AAA). The closest named color is Jasmine (#f8de7e), ΔE 4.05.

Description generated from the measured properties of this color.

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

Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d6d6d6 ≈ 0.003% of males
Achromatomaly #e4d4b6 ≈ 0.001% of males
Protanopia #e6d068 ≈ 1.01% of males
Deuteranopia #efda75 ≈ 1.27% of males
Tritanopia #ffc4bc ≈ 0.0001% of males
Protanomaly #edd16c ≈ 1.08% of males
Deuteranomaly #f3d773 ≈ 4.63% of males
Tritanomaly #ffcaa3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8d271 {
  color: #f8d271;
}
Background
.bg-f8d271 {
  background-color: #f8d271;
  color: #000000;
}
Border
.border-f8d271 {
  border: 2px solid #f8d271;
}
CSS variables
:root {
  --color-primary: #f8d271;
  --color-primary-rgb: 248 210 113;
  --color-primary-hsl: 43 91% 71%;
}
Gradient
.gradient-f8d271 {
  background: linear-gradient(135deg, #f8d271, #daf871);
}
Colored shadow
.shadow-f8d271 {
  box-shadow: 0 8px 24px rgb(248 210 113 / 0.35);
}

Jasmine
#f8d271  rgb(248, 210, 113)  hsl(43, 91%, 71%)  Jasmine
#7197f8  rgb(113, 151, 248)  hsl(223, 91%, 71%)  Cornflower Blue
#71f8d2  rgb(113, 248, 210)  hsl(163, 91%, 71%)  Aquamarine
#d271f8  rgb(210, 113, 248)  hsl(283, 91%, 71%)  Heliotrope