#EBCD0C

#ebcd0c ≈ Citrine

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

#ebcd0c 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 4.71% blue; printed in CMYK it uses 0% cyan, 12.77% magenta, 94.89% yellow and 7.84% black. Its hue angle is 51.93°, with 90.28% saturation and 48.43% 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.49.

Description generated from the measured properties of this color.

Conversions of #ebcd0c 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.6135

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 #ebd227 ≈ 1.27% of males
Tritanopia #febcaf ≈ 0.0001% of males
Protanomaly #e6ca00 ≈ 1.08% of males
Deuteranomaly #ebd01f ≈ 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-ebcd0c {
  color: #ebcd0c;
}
Background
.bg-ebcd0c {
  background-color: #ebcd0c;
  color: #000000;
}
Border
.border-ebcd0c {
  border: 2px solid #ebcd0c;
}
CSS variables
:root {
  --color-primary: #ebcd0c;
  --color-primary-rgb: 235 205 12;
  --color-primary-hsl: 52 90% 48%;
}
Gradient
.gradient-ebcd0c {
  background: linear-gradient(135deg, #ebcd0c, #99eb0c);
}
Colored shadow
.shadow-ebcd0c {
  box-shadow: 0 8px 24px rgb(235 205 12 / 0.35);
}

Citrine
#ebcd0c  rgb(235, 205, 12)  hsl(52, 90%, 48%)  Citrine
#0c2aeb  rgb(12, 42, 235)  hsl(232, 90%, 48%)  Blue
#0cebcd  rgb(12, 235, 205)  hsl(172, 90%, 48%)  Turquoise
#cd0ceb  rgb(205, 12, 235)  hsl(292, 90%, 48%)  Electric Purple