F0E68C (khaki) — RGB, HSL, CMYK and Contrast

Every value recomputed from the hex code · WCAG 2.1 contrast ratios

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.

F0E68C

Notation conversions

NotationValue
HEXF0E68C
RGBrgb(240, 230, 140)
HSLhsl(54, 77%, 75%)
CMYKcmyk(0%, 4%, 42%, 6%)
Relative luminance0.7701
Perceived brightness87.3 / 100
R=240 G=230 B=140 · hue 54.0° · saturation 76.9% · lightness 74.5%

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.

AgainstHexRatioAA textAA largeAAA text
#FFFFFFwhite1.28:1failfailfail
#000000black16.40:1passpasspass

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.

StepHexHSLvs white text
shade -30 #c9b71ahsl(54, 77%, 45%)2.04:1
shade -20 #e4d232hsl(54, 77%, 55%)1.55:1
shade -10 #eadc5fhsl(54, 77%, 65%)1.41:1
tint +10 #f6f0b9hsl(54, 77%, 85%)1.16:1
tint +20 #fcfae6hsl(54, 77%, 95%)1.05:1
tint +30 #ffffffhsl(54, 77%, 100%)1.00:1

Harmonies

SchemeHex
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.