#CFD172

#cfd172 ≈ Straw

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

#cfd172 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 81.96% green and 44.71% blue; printed in CMYK it uses 0.96% cyan, 0% magenta, 45.45% yellow and 18.04% black. Its hue angle is 61.26°, with 50.8% saturation and 63.33% 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 13.02:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.55.

Description generated from the measured properties of this color.

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

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #cdceaf ≈ 0.001% of males
Protanopia #deca6a ≈ 1.01% of males
Deuteranopia #dfcd77 ≈ 1.27% of males
Tritanopia #dac7bb ≈ 0.0001% of males
Protanomaly #d8cd6d ≈ 1.08% of males
Deuteranomaly #d9cf75 ≈ 4.63% of males
Tritanomaly #d6cba3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfd172 {
  color: #cfd172;
}
Background
.bg-cfd172 {
  background-color: #cfd172;
  color: #000000;
}
Border
.border-cfd172 {
  border: 2px solid #cfd172;
}
CSS variables
:root {
  --color-primary: #cfd172;
  --color-primary-rgb: 207 209 114;
  --color-primary-hsl: 61 51% 63%;
}
Gradient
.gradient-cfd172 {
  background: linear-gradient(135deg, #cfd172, #9fd172);
}
Colored shadow
.shadow-cfd172 {
  box-shadow: 0 8px 24px rgb(207 209 114 / 0.35);
}

Straw
#cfd172  rgb(207, 209, 114)  hsl(61, 51%, 63%)  Straw
#7472d1  rgb(116, 114, 209)  hsl(241, 51%, 63%)  Medium Slate Blue
#72cfd1  rgb(114, 207, 209)  hsl(181, 51%, 63%)  Medium Turquoise
#d172cf  rgb(209, 114, 207)  hsl(301, 51%, 63%)  Orchid