#F0CE56#F0CE56
#F0CE56 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.8% C 0.142 H 93.3°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CE56 |
|---|---|
| RGB | rgb(240, 206, 86) |
| HSL | hsl(47, 84%, 64%) |
| HSV | hsv(47, 64%, 94%) |
| CMYK | cmyk(0%, 14.2%, 64.2%, 5.9%) |
| CIE-LAB | lab(83.62, -1.23, 62.23) |
| CIE-LCH | lch(83.62, 62.24, 91.13°) |
| OKLab | oklab(85.85% -0.0082 0.1416) |
| OKLCH | oklch(85.85% 0.142 93.3) |
| XYZ | xyz(59.6891, 63.3429, 17.8847) |
| Luminance | 0.6334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.82
Light Mustard
#F7D560
ΔE00 1.68
Light Gold
#FDDC5C
ΔE00 3.29
Pale Gold
#FDDE6C
ΔE00 3.73
Sand Yellow
#FCE166
ΔE00 4.52
Sandy
#F1DA7A
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CE56 #5678F0
analogous
#F08156 #F0CE56 #C5F056
triadic
#F0CE56 #56F0CE #CE56F0
tetradic
#F0CE56 #56F081 #5678F0 #F056C5
square
#F0CE56 #56F081 #5678F0 #F056C5
split-complementary
#F0CE56 #56C5F0 #8156F0
monochromatic
#BB9511 #EBBE1E #F0CE56 #F5DE8E #FAEFC6
Accessibility & contrast
On white
1.54
#F0CE56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.67
#F0CE56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CE56
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CE56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CE56 | 1.00 | 1.54 | 13.67 | 13.67 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CB48
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #f0ce56; /* rgb */ color: rgb(240, 206, 86); /* oklch */ color: oklch(85.8% 0.142 93.3);
Tailwind
colors: {
custom: {
50: '#f8dc8b',
500: '#f0ce56',
950: '#000000',
},
}SCSS
$custom: #f0ce56; $custom-light: #f8dc8b; $custom-dark: #000000;
JSON
{
"hex": "#f0ce56",
"rgb": {
"r": 240,
"g": 206,
"b": 86
},
"hsl": {
"h": 46.753,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.85848,
"c": 0.14179,
"h": 93.3
},
"luminance": 0.6334
}Semantic roles & 50–950 ramp
primary
#F0CE56
secondary
#304FBA
accent
#36E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F