#D7CF45

#d7cf45 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#d7cf45 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 81.18% green and 27.06% blue; printed in CMYK it uses 0% cyan, 3.72% magenta, 67.91% yellow and 15.69% black. Its hue angle is 56.71°, with 64.6% saturation and 55.69% 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 12.9:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.58.

Description generated from the measured properties of this color.

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

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #d0cca6 ≈ 0.001% of males
Protanopia #e0c730 ≈ 1.01% of males
Deuteranopia #e4cd4e ≈ 1.27% of males
Tritanopia #e6c1b3 ≈ 0.0001% of males
Protanomaly #ddcb3a ≈ 1.08% of males
Deuteranomaly #dfce4b ≈ 4.63% of males
Tritanomaly #e0c794 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7cf45 {
  color: #d7cf45;
}
Background
.bg-d7cf45 {
  background-color: #d7cf45;
  color: #000000;
}
Border
.border-d7cf45 {
  border: 2px solid #d7cf45;
}
CSS variables
:root {
  --color-primary: #d7cf45;
  --color-primary-rgb: 215 207 69;
  --color-primary-hsl: 57 65% 56%;
}
Gradient
.gradient-d7cf45 {
  background: linear-gradient(135deg, #d7cf45, #96d745);
}
Colored shadow
.shadow-d7cf45 {
  box-shadow: 0 8px 24px rgb(215 207 69 / 0.35);
}

Straw
#d7cf45  rgb(215, 207, 69)  hsl(57, 65%, 56%)  Straw
#454dd7  rgb(69, 77, 215)  hsl(237, 65%, 56%)  Iris
#45d7cf  rgb(69, 215, 207)  hsl(177, 65%, 56%)  Medium Turquoise
#cf45d7  rgb(207, 69, 215)  hsl(297, 65%, 56%)  Medium Orchid