#ECB012

#ecb012 ≈ Goldenrod

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

#ecb012 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 69.02% green and 7.06% blue; printed in CMYK it uses 0% cyan, 25.42% magenta, 92.37% yellow and 7.45% black. Its hue angle is 43.49°, with 85.83% saturation and 49.8% 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 10.79:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.87.

Description generated from the measured properties of this color.

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

Readable text 1.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #d0b694 ≈ 0.001% of males
Protanopia #c9b100 ≈ 1.01% of males
Deuteranopia #d7c020 ≈ 1.27% of males
Tritanopia #ff9d96 ≈ 0.0001% of males
Protanomaly #d8b000 ≈ 1.08% of males
Deuteranomaly #e0ba1b ≈ 4.63% of males
Tritanomaly #f9a577 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#ecb012  rgb(236, 176, 18)  hsl(43, 86%, 50%)  Goldenrod
#124eec  rgb(18, 78, 236)  hsl(223, 86%, 50%)  Iris
#12ecb0  rgb(18, 236, 176)  hsl(163, 86%, 50%)  Medium Spring Green
#b012ec  rgb(176, 18, 236)  hsl(283, 86%, 50%)  Electric Purple