#CFD31E

#cfd31e ≈ Pear

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

#cfd31e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 82.75% green and 11.76% blue; printed in CMYK it uses 1.9% cyan, 0% magenta, 85.78% yellow and 17.25% black. Its hue angle is 61.33°, with 75.1% saturation and 47.25% 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 brand accents. Black text on this color reaches a contrast ratio of 12.99:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.08.

Description generated from the measured properties of this color.

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

Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #cdcea3 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #e5cd33 ≈ 1.27% of males
Tritanopia #dec5b4 ≈ 0.0001% of males
Protanomaly #dccd00 ≈ 1.08% of males
Deuteranomaly #ddd02c ≈ 4.63% of males
Tritanomaly #d8cb90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfd31e {
  color: #cfd31e;
}
Background
.bg-cfd31e {
  background-color: #cfd31e;
  color: #000000;
}
Border
.border-cfd31e {
  border: 2px solid #cfd31e;
}
CSS variables
:root {
  --color-primary: #cfd31e;
  --color-primary-rgb: 207 211 30;
  --color-primary-hsl: 61 75% 47%;
}
Gradient
.gradient-cfd31e {
  background: linear-gradient(135deg, #cfd31e, #74d31e);
}
Colored shadow
.shadow-cfd31e {
  box-shadow: 0 8px 24px rgb(207 211 30 / 0.35);
}

Pear
#cfd31e  rgb(207, 211, 30)  hsl(61, 75%, 47%)  Pear
#221ed3  rgb(34, 30, 211)  hsl(241, 75%, 47%)  Medium Blue
#1ecfd3  rgb(30, 207, 211)  hsl(181, 75%, 47%)  Dark Turquoise
#d31ecf  rgb(211, 30, 207)  hsl(301, 75%, 47%)  Medium Orchid