#DFEF9B

#dfef9b ≈ Pastel Yellow

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

#dfef9b is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 93.73% green and 60.78% blue; printed in CMYK it uses 6.69% cyan, 0% magenta, 35.15% yellow and 6.27% black. Its hue angle is 71.43°, with 72.41% saturation and 77.25% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 16.96:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 6.24.

Description generated from the measured properties of this color.

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

Readable text 1.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e7e7e7 ≈ 0.003% of males
Achromatomaly #e4eacd ≈ 0.001% of males
Protanopia #fae795 ≈ 1.01% of males
Deuteranopia #f8e79f ≈ 1.27% of males
Tritanopia #e7e6da ≈ 0.0001% of males
Protanomaly #f0ea97 ≈ 1.08% of males
Deuteranomaly #eeeb9d ≈ 4.63% of males
Tritanomaly #e4eac4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfef9b {
  color: #dfef9b;
}
Background
.bg-dfef9b {
  background-color: #dfef9b;
  color: #000000;
}
Border
.border-dfef9b {
  border: 2px solid #dfef9b;
}
CSS variables
:root {
  --color-primary: #dfef9b;
  --color-primary-rgb: 223 239 155;
  --color-primary-hsl: 71 72% 77%;
}
Gradient
.gradient-dfef9b {
  background: linear-gradient(135deg, #dfef9b, #b5ef9b);
}
Colored shadow
.shadow-dfef9b {
  box-shadow: 0 8px 24px rgb(223 239 155 / 0.35);
}

Pastel Yellow
#dfef9b  rgb(223, 239, 155)  hsl(71, 72%, 77%)  Pastel Yellow
#ab9bef  rgb(171, 155, 239)  hsl(251, 72%, 77%)  Wild Blue Yonder
#9bdfef  rgb(155, 223, 239)  hsl(191, 72%, 77%)  Non-Photo Blue
#ef9bdf  rgb(239, 155, 223)  hsl(311, 72%, 77%)  Plum