#DEF87B

#def87b ≈ Pastel Yellow

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

#def87b is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 87.06% red, 97.25% green and 48.24% blue; printed in CMYK it uses 10.48% cyan, 0% magenta, 50.4% yellow and 2.75% black. Its hue angle is 72.48°, with 89.93% saturation and 72.75% 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.82:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 6.25.

Description generated from the measured properties of this color.

Conversions of #def87b 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.8409

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

Achromatopsia #ececec ≈ 0.003% of males
Achromatomaly #e7f1c9 ≈ 0.001% of males
Protanopia #ffec6f ≈ 1.01% of males
Deuteranopia #ffed82 ≈ 1.27% of males
Tritanopia #e8eddc ≈ 0.0001% of males
Protanomaly #f7f174 ≈ 1.08% of males
Deuteranomaly #f5f17f ≈ 4.63% of males
Tritanomaly #e4f1bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#def87b  rgb(222, 248, 123)  hsl(72, 90%, 73%)  Pastel Yellow
#957bf8  rgb(149, 123, 248)  hsl(252, 90%, 73%)  Medium Purple
#7bdef8  rgb(123, 222, 248)  hsl(192, 90%, 73%)  Sky Blue
#f87bde  rgb(248, 123, 222)  hsl(312, 90%, 73%)  Violet