#DCD227

#dcd227 ≈ Citrine

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

#dcd227 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 82.35% green and 15.29% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 82.27% yellow and 13.73% black. Its hue angle is 56.69°, with 72.11% saturation and 50.78% 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.29:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.7.

Description generated from the measured properties of this color.

Conversions of #dcd227 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.6146

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d4cfa5 ≈ 0.001% of males
Protanopia #e5ca00 ≈ 1.01% of males
Deuteranopia #e9d137 ≈ 1.27% of males
Tritanopia #edc3b4 ≈ 0.0001% of males
Protanomaly #e1cd02 ≈ 1.08% of males
Deuteranomaly #e4d132 ≈ 4.63% of males
Tritanomaly #e6c991 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd227 {
  color: #dcd227;
}
Background
.bg-dcd227 {
  background-color: #dcd227;
  color: #000000;
}
Border
.border-dcd227 {
  border: 2px solid #dcd227;
}
CSS variables
:root {
  --color-primary: #dcd227;
  --color-primary-rgb: 220 210 39;
  --color-primary-hsl: 57 72% 51%;
}
Gradient
.gradient-dcd227 {
  background: linear-gradient(135deg, #dcd227, #8bdc27);
}
Colored shadow
.shadow-dcd227 {
  box-shadow: 0 8px 24px rgb(220 210 39 / 0.35);
}

Citrine
#dcd227  rgb(220, 210, 39)  hsl(57, 72%, 51%)  Citrine
#2731dc  rgb(39, 49, 220)  hsl(237, 72%, 51%)  Persian Blue
#27dcd2  rgb(39, 220, 210)  hsl(177, 72%, 51%)  Turquoise
#d227dc  rgb(210, 39, 220)  hsl(297, 72%, 51%)  Medium Orchid