#DEF874

#def874 ≈ Pastel Yellow

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

#def874 is a color from the yellow-green family, with high lightness and strong saturation. In the RGB model it is made of 87.06% red, 97.25% green and 45.49% blue; printed in CMYK it uses 10.48% cyan, 0% magenta, 53.23% yellow and 2.75% black. Its hue angle is 71.82°, with 90.41% saturation and 71.37% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 17.79:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 6.49.

Description generated from the measured properties of this color.

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

Readable text 1.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ececec ≈ 0.003% of males
Achromatomaly #e7f1c7 ≈ 0.001% of males
Protanopia #ffec67 ≈ 1.01% of males
Deuteranopia #ffed7c ≈ 1.27% of males
Tritanopia #e9ecdb ≈ 0.0001% of males
Protanomaly #f7f16c ≈ 1.08% of males
Deuteranomaly #f5f179 ≈ 4.63% of males
Tritanomaly #e5f1ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-def874 {
  color: #def874;
}
Background
.bg-def874 {
  background-color: #def874;
  color: #000000;
}
Border
.border-def874 {
  border: 2px solid #def874;
}
CSS variables
:root {
  --color-primary: #def874;
  --color-primary-rgb: 222 248 116;
  --color-primary-hsl: 72 90% 71%;
}
Gradient
.gradient-def874 {
  background: linear-gradient(135deg, #def874, #9cf874);
}
Colored shadow
.shadow-def874 {
  box-shadow: 0 8px 24px rgb(222 248 116 / 0.35);
}

Pastel Yellow
#def874  rgb(222, 248, 116)  hsl(72, 90%, 71%)  Pastel Yellow
#8e74f8  rgb(142, 116, 248)  hsl(252, 90%, 71%)  Medium Slate Blue
#74def8  rgb(116, 222, 248)  hsl(192, 90%, 71%)  Sky Blue
#f874de  rgb(248, 116, 222)  hsl(312, 90%, 71%)  Rose Pink