#EBCD12

#ebcd12 ≈ Citrine

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

#ebcd12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 80.39% green and 7.06% blue; printed in CMYK it uses 0% cyan, 12.77% magenta, 92.34% yellow and 7.84% black. Its hue angle is 51.71°, with 85.77% saturation and 49.61% 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.27:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.5.

Description generated from the measured properties of this color.

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

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

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #dacda4 ≈ 0.001% of males
Protanopia #e3c800 ≈ 1.01% of males
Deuteranopia #ebd229 ≈ 1.27% of males
Tritanopia #febcaf ≈ 0.0001% of males
Protanomaly #e6ca00 ≈ 1.08% of males
Deuteranomaly #ebd022 ≈ 4.63% of males
Tritanomaly #f7c38b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ebcd12 {
  color: #ebcd12;
}
Background
.bg-ebcd12 {
  background-color: #ebcd12;
  color: #000000;
}
Border
.border-ebcd12 {
  border: 2px solid #ebcd12;
}
CSS variables
:root {
  --color-primary: #ebcd12;
  --color-primary-rgb: 235 205 18;
  --color-primary-hsl: 52 86% 50%;
}
Gradient
.gradient-ebcd12 {
  background: linear-gradient(135deg, #ebcd12, #9ceb12);
}
Colored shadow
.shadow-ebcd12 {
  box-shadow: 0 8px 24px rgb(235 205 18 / 0.35);
}

Citrine
#ebcd12  rgb(235, 205, 18)  hsl(52, 86%, 50%)  Citrine
#1230eb  rgb(18, 48, 235)  hsl(232, 86%, 50%)  Blue
#12ebcd  rgb(18, 235, 205)  hsl(172, 86%, 50%)  Turquoise
#cd12eb  rgb(205, 18, 235)  hsl(292, 86%, 50%)  Electric Purple