Recognised as Colour
#EBC502
- #EBC502
- Yellow
- Light
- Nearest: Gold
#EBC502 is a yellow with RGB values 235, 197, 2 and HSL 50°, 98%, 46%. It is a light colour, so black text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Gold.
Colour values
#EBC502#EBC502
HEX#EBC502
RGBrgb(235, 197, 2)
RGB (0–1)0.9216, 0.7725, 0.0078
RGB percentages92.2%, 77.3%, 0.8%
HSLhsl(50.2, 98.3%, 46.5%)
HSV / HSBhsv(50.2, 99.1%, 92.2%)
CMYK0%, 16.2%, 99.1%, 7.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer15,451,394
CSS custom property--colour: #EBC502;
Brightness & contrast
Relative luminance0.57599WCAG 2.x, 0 is black and 1 is white
Perceived brightness198.2 of 255ITU-R BT.601 weighting
Light or darkLight
Best text colour on this backgroundBlackcontrast 12.52:1
Contrast with white1.68:1WCAG normal text: Fail
Contrast with black12.52:1WCAG normal text: AAA
Greyscale equivalent#BFBFBF
Inverted#143AFD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text1.68:1WCAG large text: Fail
Contrast with black, large text12.52:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0228EB
Analogous#EB5102, #9CEB02
Triadic#02EBC5, #C502EB
Split complementary#029CEB, #5002EB
Tetradic#02EB51, #0228EB, #EB029D
Tints, shades & saturation
Channel breakdown
R235
G197
B2
Red235 (92.2%)
Green197 (77.3%)
Blue2 (0.8%)
Hue50.21°
Saturation (HSL)98.31%
Lightness46.47%
Dominant channelRed
Hex per channelR EB · G C5 · B 02
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page