#EFB302

#efb302 ≈ Amber

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

#efb302 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 93.73% red, 70.2% green and 0.78% blue; printed in CMYK it uses 0% cyan, 25.1% magenta, 99.16% yellow and 6.27% black. Its hue angle is 44.81°, with 98.34% saturation and 47.25% 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 11.12:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 3.35.

Description generated from the measured properties of this color.

Conversions of #efb302 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.506

Readable text 1.89:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bdbdbd ≈ 0.003% of males
Achromatomaly #d3b996 ≈ 0.001% of males
Protanopia #ccb300 ≈ 1.01% of males
Deuteranopia #dbc319 ≈ 1.27% of males
Tritanopia #ffa098 ≈ 0.0001% of males
Protanomaly #dbb300 ≈ 1.08% of males
Deuteranomaly #e3bd12 ≈ 4.63% of males
Tritanomaly #fca879 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-efb302 {
  color: #efb302;
}
Background
.bg-efb302 {
  background-color: #efb302;
  color: #000000;
}
Border
.border-efb302 {
  border: 2px solid #efb302;
}
CSS variables
:root {
  --color-primary: #efb302;
  --color-primary-rgb: 239 179 2;
  --color-primary-hsl: 45 98% 47%;
}
Gradient
.gradient-efb302 {
  background: linear-gradient(135deg, #efb302, #b4ef02);
}
Colored shadow
.shadow-efb302 {
  box-shadow: 0 8px 24px rgb(239 179 2 / 0.35);
}

Amber
#efb302  rgb(239, 179, 2)  hsl(45, 98%, 47%)  Amber
#023eef  rgb(2, 62, 239)  hsl(225, 98%, 47%)  Persian Blue
#02efb3  rgb(2, 239, 179)  hsl(165, 98%, 47%)  Medium Spring Green
#b302ef  rgb(179, 2, 239)  hsl(285, 98%, 47%)  Electric Purple