#D2C50B

#d2c50b ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#d2c50b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 77.25% green and 4.31% blue; printed in CMYK it uses 0% cyan, 6.19% magenta, 94.76% yellow and 17.65% black. Its hue angle is 56.08°, with 90.05% saturation and 43.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 11.73:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.5.

Description generated from the measured properties of this color.

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

Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c8c39a ≈ 0.001% of males
Protanopia #d8be00 ≈ 1.01% of males
Deuteranopia #dcc526 ≈ 1.27% of males
Tritanopia #e3b6a8 ≈ 0.0001% of males
Protanomaly #d5c100 ≈ 1.08% of males
Deuteranomaly #d8c51e ≈ 4.63% of males
Tritanomaly #dcbc85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c50b {
  color: #d2c50b;
}
Background
.bg-d2c50b {
  background-color: #d2c50b;
  color: #000000;
}
Border
.border-d2c50b {
  border: 2px solid #d2c50b;
}
CSS variables
:root {
  --color-primary: #d2c50b;
  --color-primary-rgb: 210 197 11;
  --color-primary-hsl: 56 90% 43%;
}
Gradient
.gradient-d2c50b {
  background: linear-gradient(135deg, #d2c50b, #7bd20b);
}
Colored shadow
.shadow-d2c50b {
  box-shadow: 0 8px 24px rgb(210 197 11 / 0.35);
}

Citrine
#d2c50b  rgb(210, 197, 11)  hsl(56, 90%, 43%)  Citrine
#0b18d2  rgb(11, 24, 210)  hsl(236, 90%, 43%)  Medium Blue
#0bd2c5  rgb(11, 210, 197)  hsl(176, 90%, 43%)  Medium Turquoise
#c50bd2  rgb(197, 11, 210)  hsl(296, 90%, 43%)  Electric Purple