#D7C42E

#d7c42e ≈ Citrine

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

#d7c42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.84% magenta, 78.6% yellow and 15.69% black. Its hue angle is 53.25°, with 67.87% saturation and 51.18% 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 11.82:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.76.

Description generated from the measured properties of this color.

Conversions of #d7c42e 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.5412

Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #cbc39d ≈ 0.001% of males
Protanopia #d7be00 ≈ 1.01% of males
Deuteranopia #dcc63a ≈ 1.27% of males
Tritanopia #e8b5a8 ≈ 0.0001% of males
Protanomaly #d7c01b ≈ 1.08% of males
Deuteranomaly #dac535 ≈ 4.63% of males
Tritanomaly #e1bb88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7c42e {
  color: #d7c42e;
}
Background
.bg-d7c42e {
  background-color: #d7c42e;
  color: #000000;
}
Border
.border-d7c42e {
  border: 2px solid #d7c42e;
}
CSS variables
:root {
  --color-primary: #d7c42e;
  --color-primary-rgb: 215 196 46;
  --color-primary-hsl: 53 68% 51%;
}
Gradient
.gradient-d7c42e {
  background: linear-gradient(135deg, #d7c42e, #96d72e);
}
Colored shadow
.shadow-d7c42e {
  box-shadow: 0 8px 24px rgb(215 196 46 / 0.35);
}

Citrine
#d7c42e  rgb(215, 196, 46)  hsl(53, 68%, 51%)  Citrine
#2e41d7  rgb(46, 65, 215)  hsl(233, 68%, 51%)  Persian Blue
#2ed7c4  rgb(46, 215, 196)  hsl(173, 68%, 51%)  Turquoise
#c42ed7  rgb(196, 46, 215)  hsl(293, 68%, 51%)  Medium Orchid