#D7CA7F

#d7ca7f ≈ Flax

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

#d7ca7f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 79.22% green and 49.8% blue; printed in CMYK it uses 0% cyan, 6.05% magenta, 40.93% yellow and 15.69% black. Its hue angle is 51.14°, with 52.38% saturation and 67.06% 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.64:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 5.09.

Description generated from the measured properties of this color.

Conversions of #d7ca7f 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.5822

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cfc9b0 ≈ 0.001% of males
Protanopia #d7c679 ≈ 1.01% of males
Deuteranopia #dbcb82 ≈ 1.27% of males
Tritanopia #e3c0b7 ≈ 0.0001% of males
Protanomaly #d7c77c ≈ 1.08% of males
Deuteranomaly #dacb81 ≈ 4.63% of males
Tritanomaly #dec4a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7ca7f {
  color: #d7ca7f;
}
Background
.bg-d7ca7f {
  background-color: #d7ca7f;
  color: #000000;
}
Border
.border-d7ca7f {
  border: 2px solid #d7ca7f;
}
CSS variables
:root {
  --color-primary: #d7ca7f;
  --color-primary-rgb: 215 202 127;
  --color-primary-hsl: 51 52% 67%;
}
Gradient
.gradient-d7ca7f {
  background: linear-gradient(135deg, #d7ca7f, #b8d77f);
}
Colored shadow
.shadow-d7ca7f {
  box-shadow: 0 8px 24px rgb(215 202 127 / 0.35);
}

Flax
#d7ca7f  rgb(215, 202, 127)  hsl(51, 52%, 67%)  Flax
#7f8cd7  rgb(127, 140, 215)  hsl(231, 52%, 67%)  Glaucous
#7fd7ca  rgb(127, 215, 202)  hsl(171, 52%, 67%)  Medium Turquoise
#ca7fd7  rgb(202, 127, 215)  hsl(291, 52%, 67%)  Orchid