#ECB228

#ecb228 ≈ Meat Brown

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

#ecb228 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.8% green and 15.69% blue; printed in CMYK it uses 0% cyan, 24.58% magenta, 83.05% yellow and 7.45% black. Its hue angle is 42.24°, with 83.76% saturation and 54.12% 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.97:1 (WCAG AAA). The closest named color is Meat Brown (#e5b73b), ΔE 3.15.

Description generated from the measured properties of this color.

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

Readable text 1.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bbbbbb ≈ 0.003% of males
Achromatomaly #d1b897 ≈ 0.001% of males
Protanopia #cab300 ≈ 1.01% of males
Deuteranopia #d8c130 ≈ 1.27% of males
Tritanopia #ffa099 ≈ 0.0001% of males
Protanomaly #d9b214 ≈ 1.08% of males
Deuteranomaly #e0bb2d ≈ 4.63% of males
Tritanomaly #f9a87b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecb228 {
  color: #ecb228;
}
Background
.bg-ecb228 {
  background-color: #ecb228;
  color: #000000;
}
Border
.border-ecb228 {
  border: 2px solid #ecb228;
}
CSS variables
:root {
  --color-primary: #ecb228;
  --color-primary-rgb: 236 178 40;
  --color-primary-hsl: 42 84% 54%;
}
Gradient
.gradient-ecb228 {
  background: linear-gradient(135deg, #ecb228, #c4ec28);
}
Colored shadow
.shadow-ecb228 {
  box-shadow: 0 8px 24px rgb(236 178 40 / 0.35);
}

Meat Brown
#ecb228  rgb(236, 178, 40)  hsl(42, 84%, 54%)  Meat Brown
#2862ec  rgb(40, 98, 236)  hsl(222, 84%, 54%)  Royal Blue
#28ecb2  rgb(40, 236, 178)  hsl(162, 84%, 54%)  Aquamarine
#b228ec  rgb(178, 40, 236)  hsl(282, 84%, 54%)  Electric Purple