F0E68C (khaki) — RGB, HSL, CMYK and Contrast
A yellow at 75% lightness and 77% saturation, which puts it at 1.28:1 against white and 16.40: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 | F0E68C |
| RGB | rgb(240, 230, 140) |
| HSL | hsl(54, 77%, 75%) |
| CMYK | cmyk(0%, 4%, 42%, 6%) |
| Relative luminance | 0.7701 |
| Perceived brightness | 87.3 / 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.28:1 | fail | fail | fail |
| #000000 | black | 16.40: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 | #c9b71a | hsl(54, 77%, 45%) | 2.04:1 |
| shade -20 | #e4d232 | hsl(54, 77%, 55%) | 1.55:1 |
| shade -10 | #eadc5f | hsl(54, 77%, 65%) | 1.41:1 |
| tint +10 | #f6f0b9 | hsl(54, 77%, 85%) | 1.16:1 |
| tint +20 | #fcfae6 | hsl(54, 77%, 95%) | 1.05:1 |
| tint +30 | #ffffff | hsl(54, 77%, 100%) | 1.00:1 |
Harmonies
| Scheme | Hex |
|---|---|
| Complementary | #8c96f0 |
| Analogous −30 | #f0b48c |
| Analogous +30 | #c8f08c |
| Triadic −120 | #e68cf0 |
| Triadic +120 | #8cf0e6 |
Take the channels apart and the numbers hold together: 240, 230 and 140 average 203, the strongest channel is 240 and the weakest 140, and that span is what pushes saturation to 76.9% at hue 54.0° and lightness 74.5%. Luminance 0.7701 with perceived brightness 87.3 out of 100 is why the white ratio (1.28:1) and the black ratio (16.40:1) diverge by 15.12. Entry 19 of 69, it steps to #c9b71a at minus thirty and #ffffff at plus thirty.
Nearby colours
Frequently asked questions
What text colour should sit on F0E68C?
Black gives 16.40:1 and white gives 1.28:1, so black wins at 16.40: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.