#F0D331

#f0d331 ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#f0d331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 82.75% green and 19.22% blue; printed in CMYK it uses 0% cyan, 12.08% magenta, 79.58% yellow and 5.88% black. Its hue angle is 50.89°, with 86.43% saturation and 56.67% 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.07:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.8.

Description generated from the measured properties of this color.

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

Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d3d3d3 ≈ 0.003% of males
Achromatomaly #dfd3aa ≈ 0.001% of males
Protanopia #e9ce00 ≈ 1.01% of males
Deuteranopia #f0d83e ≈ 1.27% of males
Tritanopia #ffc2b5 ≈ 0.0001% of males
Protanomaly #ecd01b ≈ 1.08% of males
Deuteranomaly #f0d639 ≈ 4.63% of males
Tritanomaly #fcc993 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0d331 {
  color: #f0d331;
}
Background
.bg-f0d331 {
  background-color: #f0d331;
  color: #000000;
}
Border
.border-f0d331 {
  border: 2px solid #f0d331;
}
CSS variables
:root {
  --color-primary: #f0d331;
  --color-primary-rgb: 240 211 49;
  --color-primary-hsl: 51 86% 57%;
}
Gradient
.gradient-f0d331 {
  background: linear-gradient(135deg, #f0d331, #aef031);
}
Colored shadow
.shadow-f0d331 {
  box-shadow: 0 8px 24px rgb(240 211 49 / 0.35);
}

Citrine
#f0d331  rgb(240, 211, 49)  hsl(51, 86%, 57%)  Citrine
#314ef0  rgb(49, 78, 240)  hsl(231, 86%, 57%)  Majorelle Blue
#31f0d3  rgb(49, 240, 211)  hsl(171, 86%, 57%)  Turquoise
#d331f0  rgb(211, 49, 240)  hsl(291, 86%, 57%)  Medium Orchid