#DEF98F

#def98f ≈ Pastel Yellow

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

#def98f 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.65% green and 56.08% blue; printed in CMYK it uses 10.84% cyan, 0% magenta, 42.57% yellow and 2.35% black. Its hue angle is 75.28°, with 89.83% saturation and 76.86% lightness in HSL. It sits between warm and cool, and is 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 18.05:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 6.32.

Description generated from the measured properties of this color.

Conversions of #def98f 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.8526

Readable text 1.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #eeeeee ≈ 0.003% of males
Achromatomaly #e8f2cf ≈ 0.001% of males
Protanopia #ffee87 ≈ 1.01% of males
Deuteranopia #ffee94 ≈ 1.27% of males
Tritanopia #e7efe0 ≈ 0.0001% of males
Protanomaly #f6f38a ≈ 1.08% of males
Deuteranomaly #f4f292 ≈ 4.63% of males
Tritanomaly #e3f3c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-def98f {
  color: #def98f;
}
Background
.bg-def98f {
  background-color: #def98f;
  color: #000000;
}
Border
.border-def98f {
  border: 2px solid #def98f;
}
CSS variables
:root {
  --color-primary: #def98f;
  --color-primary-rgb: 222 249 143;
  --color-primary-hsl: 75 90% 77%;
}
Gradient
.gradient-def98f {
  background: linear-gradient(135deg, #def98f, #a9f98f);
}
Colored shadow
.shadow-def98f {
  box-shadow: 0 8px 24px rgb(222 249 143 / 0.35);
}

Pastel Yellow
#def98f  rgb(222, 249, 143)  hsl(75, 90%, 77%)  Pastel Yellow
#aa8ff9  rgb(170, 143, 249)  hsl(255, 90%, 77%)  Floral Lavender
#8fdef9  rgb(143, 222, 249)  hsl(195, 90%, 77%)  Non-Photo Blue
#f98fde  rgb(249, 143, 222)  hsl(315, 90%, 77%)  Violet