#E3D21C
Vivid Yellow
#E3D21C is the CSS named color "gold", an exact match. In RGB it breaks down to red 227, green 210, and blue 28 out of 255 each. In HSL terms that's a hue of 55°, 78% saturation, and 50% lightness: a mid-tone — usable as an accent for buttons, links, and icons against either a light or dark background.
Every format
| HEX | #e3d21c |
| RGB | rgb(227, 210, 28) |
| HSL | hsl(55° 78% 50%) |
| HSB | hsb(55° 88% 89%) |
| OKLCH | oklch(85% 0.175 103°) |
| OKLAB | oklab(85% -0.040 0.170) |
| LCH | lch(84% 79.6 94°) |
| CMYK | cmyk(0% 7% 88% 11%) |
Shades (darker)
#e3d21c · #cdbc00 · #b7a600 · #a29000 · #8e7b00
Tints (lighter)
#e3d21c · #e8d727 · #eddc30 · #f2e138 · #f7e63f
Shades mix #E3D21C toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 1.56:1 — fails
On black: 13.50:1 — AAA
Frequently asked
- What is #E3D21C in RGB?
- #E3D21C is rgb(227, 210, 28) — red 227, green 210, blue 28 out of 255 each.
- Does #E3D21C pass WCAG contrast on a white background?
- It has a contrast ratio of 1.56:1 against white, which fails for normal text.
- What's a good background color to pair with #E3D21C?
- Black text or a black background gives better contrast (13.50:1) than white (1.56:1).