FFEB3B (Yellow 500) — RGB, HSL, CMYK and Contrast
A yellow at 62% lightness and 100% saturation, which puts it at 1.22:1 against white and 17.20:1 against black. The tables below give the notation conversions, the tints and shades that keep the hue intact, and the harmonies that pair with it.
Notation conversions
| Notation | Value |
|---|---|
| HEX | FFEB3B |
| RGB | rgb(255, 235, 59) |
| HSL | hsl(54, 100%, 62%) |
| CMYK | cmyk(0%, 8%, 77%, 0%) |
| Relative luminance | 0.8099 |
| Perceived brightness | 86.6 / 100 |
Contrast against pure white and pure black
Pair this colour with the two extremes to see which is the safer text partner. AA needs 4.5:1 for body text and 3:1 for large text; AAA raises that to 7:1 and 4.5:1.
| Against | Hex | Ratio | AA text | AA large | AAA text |
|---|---|---|---|---|---|
| #FFFFFF | white | 1.22:1 | fail | fail | fail |
| #000000 | black | 17.20:1 | pass | pass | pass |
Tints and shades
Lightness moves in ten-point steps while hue and saturation stay fixed, which keeps the colour recognisable in a scale. The last column is the ratio against white text, useful for deciding where a scale stops working as a background.
| Step | Hex | HSL | vs white text |
|---|---|---|---|
| shade -30 | #a19100 | hsl(54, 100%, 32%) | 3.20:1 |
| shade -20 | #d4be00 | hsl(54, 100%, 42%) | 1.88:1 |
| shade -10 | #ffe608 | hsl(54, 100%, 52%) | 1.27:1 |
| tint +10 | #fff06e | hsl(54, 100%, 72%) | 1.17:1 |
| tint +20 | #fff5a1 | hsl(54, 100%, 82%) | 1.12:1 |
| tint +30 | #fffbd4 | hsl(54, 100%, 92%) | 1.05:1 |
Harmonies
| Scheme | Hex |
|---|---|
| Complementary | #3b4fff |
| Analogous −30 | #ff893b |
| Analogous +30 | #b1ff3b |
| Triadic −120 | #eb3bff |
| Triadic +120 | #3bffeb |
Read back from the notation table, FFEB3B is rgb(255, 235, 59), which normalises to hue 53.9° at 100.0% saturation and 61.6% lightness. Its relative luminance of 0.8099 is what produces the two ratios above: 1.22:1 against white and 17.20:1 against black, a gap of 15.98. Position 18 of 69 in the colour library, it darkens to #a19100 thirty points lower on the lightness axis and lifts to #fffbd4 thirty higher, while the complementary rotation lands on #3b4fff.
Nearby colours
Frequently asked questions
What text colour should sit on FFEB3B?
Black gives 17.20:1 and white gives 1.22:1, so black wins at 17.20:1. That clears the 4.5:1 AA threshold for normal text and the 7:1 AAA threshold as well.
Do the CMYK numbers match a print workflow?
They are the naive conversion from RGB, which assumes no ink limit, no colour profile and no black generation strategy. Real print work needs a profile-aware conversion; the values here are the ones the converter reports and are best used as a starting point for a designer rather than a press-ready separations file.
Convert any other colour, or test a pair against each other, in the ColrShift colour converter and contrast checker. The colour library groups every entry on this site by hue family.