#EBAB12

#ebab12 ≈ Goldenrod

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

#ebab12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 67.06% green and 7.06% blue; printed in CMYK it uses 0% cyan, 27.23% magenta, 92.34% yellow and 7.84% black. Its hue angle is 42.3°, 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 10.37:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.45.

Description generated from the measured properties of this color.

Conversions of #ebab12 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.4683

Readable text 2.03:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b6b6b6 ≈ 0.003% of males
Achromatomaly #cdb291 ≈ 0.001% of males
Protanopia #c4ad00 ≈ 1.01% of males
Deuteranopia #d3bd1f ≈ 1.27% of males
Tritanopia #ff9892 ≈ 0.0001% of males
Protanomaly #d5ac00 ≈ 1.08% of males
Deuteranomaly #ddb61a ≈ 4.63% of males
Tritanomaly #f8a074 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#ebab12  rgb(235, 171, 18)  hsl(42, 86%, 50%)  Goldenrod
#1252eb  rgb(18, 82, 235)  hsl(222, 86%, 50%)  Iris
#12ebab  rgb(18, 235, 171)  hsl(162, 86%, 50%)  Medium Spring Green
#ab12eb  rgb(171, 18, 235)  hsl(282, 86%, 50%)  Vivid Violet