#E4CB30 color
The hex color #E4CB30 is a moderate yellow.
In the RGB color model it is made of 89.4% red, 79.6% green and 18.8% blue (228, 203, 48).
Its hue angle is 52°, with 77% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 79% yellow and 11% black.
The closest named color is Oh Em Ghee (#E3C81C), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.88:1).
#E4CB30 color codes
| HEX | #E4CB30 | |
|---|---|---|
| RGB | rgb(228, 203, 48) | |
| RGB percent | rgb(89.4%, 79.6%, 18.8%) | |
| HSL | hsl(52, 77%, 54%) | |
| HSV / HSB | hsv(52, 79%, 89%) | |
| CMYK | cmyk(0%, 11%, 79%, 11%) | |
| CIE LAB | lab(81.52, -6.53, 73.81) | |
| CIE LCH | lch(81.52, 74.09, 95.06) | |
| CIE XYZ | xyz(53.887, 59.422, 11.427) | |
| Decimal | 14994224 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #E4CB30, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #E4CB30 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.88:1 | Pass | Pass | Pass |
| Sample text | 1.63:1 | Fail | Fail | Fail |
| #E4CB30 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.88:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #E4CB30 looks to people with the most common types of color vision deficiency.
#dfc500Protanopia
no red cones#e6ce3cDeuteranopia
no green cones#f6bbaeTritanopia
no blue cones#cbcbcbAchromatopsia
no color vision
CSS examples
.background { background-color: #e4cb30; }
.text { color: #e4cb30; }
.border { border: 2px solid #e4cb30; }
.transparent { background-color: rgb(228 203 48 / 50%); }
.gradient { background: linear-gradient(to right, #e4cb30, #a3e430); }
Similar colors
#e3c81cOh Em Ghee#dcc61fPaella#e8ce49Golden Relic#ebd147Aurora#ecd540Sandstorm#eecc24Broom#eecc22Valkyrie#f0d31eYellow Mellow
Closest common color name: Gold.
Questions
- What color is #E4CB30?
- #E4CB30 is a moderate yellow, closest to the named color Oh Em Ghee. It belongs to the yellow family of colors.
- What is the RGB value of #E4CB30?
- The RGB value is 228, 203, 48: 228 red, 203 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #E4CB30?
- The complementary color is #3049E4, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #E4CB30?
- Black text. Black text has a contrast ratio of 12.88:1 and white text 1.63:1. WCAG asks for at least 4.5:1 for normal text.