#DDD40B

#ddd40b ≈ Citrine

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

#ddd40b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.67% red, 83.14% green and 4.31% blue; printed in CMYK it uses 0% cyan, 4.07% magenta, 95.02% yellow and 13.33% black. Its hue angle is 57.43°, with 90.52% saturation and 45.49% 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 13.5:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.65.

Description generated from the measured properties of this color.

Conversions of #ddd40b 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.6248

Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d5d1a5 ≈ 0.001% of males
Protanopia #e7cc00 ≈ 1.01% of males
Deuteranopia #ebd22a ≈ 1.27% of males
Tritanopia #eec5b5 ≈ 0.0001% of males
Protanomaly #e3cf00 ≈ 1.08% of males
Deuteranomaly #e6d321 ≈ 4.63% of males
Tritanomaly #e8cb90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ddd40b {
  color: #ddd40b;
}
Background
.bg-ddd40b {
  background-color: #ddd40b;
  color: #000000;
}
Border
.border-ddd40b {
  border: 2px solid #ddd40b;
}
CSS variables
:root {
  --color-primary: #ddd40b;
  --color-primary-rgb: 221 212 11;
  --color-primary-hsl: 57 91% 45%;
}
Gradient
.gradient-ddd40b {
  background: linear-gradient(135deg, #ddd40b, #7ddd0b);
}
Colored shadow
.shadow-ddd40b {
  box-shadow: 0 8px 24px rgb(221 212 11 / 0.35);
}

Citrine
#ddd40b  rgb(221, 212, 11)  hsl(57, 91%, 45%)  Citrine
#0b14dd  rgb(11, 20, 221)  hsl(237, 91%, 45%)  Medium Blue
#0bddd4  rgb(11, 221, 212)  hsl(177, 91%, 45%)  Bright Turquoise
#d40bdd  rgb(212, 11, 221)  hsl(297, 91%, 45%)  Electric Purple